Primary hypothyroidism can cause hyperprolactinemia and galactorrhea because increased levels of thyroid-releasing hormone increase secretion of prolactin as well as thyroid-stimulating hormone (TSH).