The exact cause of GDM is not clear, but it is believed to be related to the hormonal changes during pregnancy. These hormones can make the body less responsive to insulin, leading to insulin resistance. As a result, the body needs more insulin to manage blood sugar levels. When the pancreas cannot produce enough insulin, gestational diabetes occurs.