Resistance to thyroid hormone due to mutations in the THRB gene impairs bone mass and affects calcium and phosphorus homeostasis.