During pregnancy, the placenta makes hormones that can lead to a buildup of sugar in your blood. Usually, your pancreas can make enough insulin to handle that. If not, your blood sugar levels will rise and can cause gestational diabetes.