It does not contradict, it lists weight lifting under muscle training, not under bone density.
"Bones stay strong if you give them work to do. The best way to keep bones strong is to do both weight-bearing impact and muscle-strengthening exercises."
"Bones stay strong if you give them work to do. The best way to keep bones strong is to do both weight-bearing impact and muscle-strengthening exercises."