I don’t know if it was intentional or if the developers added or forgot about it but the Happy Ghasts (unlike normal ghasts) are able to take fire damage. I have also noticed that if there is lava, fire or soul fire within the happy ghast’s reach, the happy ghast has a chance to get into the fire and potentially die. Most passive and aggressive mobs will not walk on fire and avoid it by going around but the happy ghast’s AI doesn’t have that and it will step into lava and fire and once it starts taking damage it won’t even start flying around.
Comments 3
The part where Happy Ghasts taking fire damage is intentional, see MC-296395.
This also happens with Ghastlings.