Changing hormones and weight gain are part of a healthy pregnancy. But both changes make it hard for your body to keep up with its need for insulin. When that happens, your body doesn't get the energy it needs from the food you eat. As a result, this can cause gestational diabetes.