Babies before marriage

So I know I may get bashed for this but I can't understand all these women who aren't married but are actively trying to conceive. I was raised that when you are in a stable and committed relationship the next step is marriage and THEN a baby. I also think it provides a more stable environment for a child. I understand that sometimes beautiful mistakes happen but I don't understand purposely trying to get pregnant outside marriage.