Hello,
some enemies will keep their hitbox even they jump or fly during the animation and so they can be hit.
I think it doesn’t make sense that they can be hit if they are flying/jumping because at that moment they are not on the floor as your character.