Fall damage is added by Vanilla.
Fall damage[]
This is a type of damage, which almost every mob will be taking after falling from a high altitude. 24 blocks will do exactly 10 hearts of damage.
It can be reduced with the Feather Falling enchantment, or completely ignored by wearing Cloud Boots or having a Golden Feather in your inventory.