I mean, I can understand why it might happen, but it so didn't have to happen, and imo I don't think it did much for her character. While there are tons of mitigating circumstances, becoming a teen mother is widely viewed as being not a good decision, so it made her seem like, well, the kind of person who doesn't make good decisions. And, iirc, the issue was kind of dropped like a hot potato after she put the baby up for adoption, so I have to wonder what the whole point of the pregnancy was . . . other than ~drama~.
Or maybe I just don't like it and want to ignore all the evidence for why it might not be that bad xD