After taking drowning damage, the leash breaks and the mob rises to the surface.
A horse remains submerged because the leash prevents it from floating to the surface.
The leash drops as an item, allowing the horse to resurface safely.