Gestational diabetes can cause health issues for mothers and babies if not treated, which is why most doctors and midwives recommend the test for pregnant women.