PTH and magnesium deficiency: Similarly, a review (Castiglioni et al., 2013) emphasized that magnesium deficiency contributes to osteoporosis by directly affecting crystal formation and bone cells, and indirectly impacting the secretion and activity of parathyroid hormone and promoting low‐grade inflammation.