The force of the ball hitting the hard ground puts an equal force back onto the ball, meaning it bounces back up. This happens because balls are made out of an elastic material which allows them to be squashed or stretched and then return to their original shape.