PTH and hypoparathyroidism: Hypomagnesemia impairs PTH secretion and action, leading to functional hypoparathyroidism and bone loss.