Another possible cause of hypoparathyroidism is autoimmune disease. In this condition, the immune system mistakenly attacks the parathyroid glands. The glands then stop making PTH.