Obesity surgery, such as gastric bypass or sleeve gastrectomy, can affect PTH levels by altering nutrient absorption. These surgeries may lead to changes in calcium metabolism, potentially impacting PTH secretion. Regular monitoring and supplementation are crucial for post-surgery patients.