Cycling has its own risks as it can reduce bone density if you cycle instead of walking or other forms of exercise.
The issue is that some people use cycling as their only form of exercise. For bone health you need to mix in other high impact exercises such as running and weightlifting.