What's the difference?

So why do people think that someone who is young and married is ok to be pregnant but someone who is young and not married is completely horrible ?