I think this is caused since the custom mobs are technically baby zombies
(since some are able to spawn riding a chicken (also are invincible))
So if this is true it means that the drown time of these zombies isn't being reset/set causing them to turn