IIRC it's because greater weight leads to greater mechanical loading (Stress) on the bones which leads to mechanotransduction. This causes bones to remodel. Funny enough, this is also the reason why astronauts tend to lose bone mass while they are in space.