question about gestational diabetes

Why is it that they induce with gestational diabetes? i’m new to all of this so i just want to understand everything