There are some medical conditions that can drive weight gain and make it much harder to lose weight. These include hypothyroidism, polycystic ovarian syndrome (PCOS) and sleep apnea. Certain medications can also make weight loss harder, or even cause weight gain.