As the height increases,
Potential energy increases.
When we jump from the top of the building,
Height is more and hence more potential energy will be converted to kinetic energy.
As the kinetic energy increases, velocity at which we reaches the ground will increase.
(K.E=(1/2)×M×V^2)
As the velocity increases,
Momentum also increases.
So when we jump from more height, velocity will be high and hence momentum will be more
This momentum cause pain.