Hungry bone syndrome occurs after parathyroidectomy in patients with hyperparathyroidism. The sudden drop in circulating parathyroid hormone causes a rapid uptake of calcium and phosphorus by the bones, leading to hypocalcemia.