Ghast resistance datapack

So i think i have a correct datapack for a ghast to be immune to its own fireball that can be sent back. But it doesn´t seem to work i don´t know that i did wrong. Can anyone help? Version 1.20.1 first pic is tick.mcfunction 2nd pic is load.mcfunction
Continue to help post