Help!

Hey mamas, for those who have had their babies prematurely is it because you had previous complications during your pregnancy or was it spontaneously. Sorry I’m worried about going early since I’ve been seeing many mommies of the group have their babies before they even hit the 38 week mark.