Mounting entities negates fall damage, but when the ridden entity falls on their own, fall damage still occurs for said entity and all passengers in Java.
Still happens on 1.16.221 Android. Horses and other similar mountables treat block falls as if they're halved (40 block fall is considered 20 block fall), that's intended. But no matter how high, they won't take amy damage when ridden.
Can confirm