PTH and Hypocalcemia: Hypoparathyroidism, along with hypocalcemia, may also contribute to hypomagnesemia, as PTH increases magnesium absorption in the kidneys and in the gut and its release from the bones [63,64].