"Acting out of anger to do something to hurt the guy?" Where did you get that?? She wouldn't even tell him how the pregnancy ended. I was in these exact shoes when I got pregnant with my daughter. Her - the impregnator was an immature little git. I only found out at court that I lied to him. Told him he wasn't the father. That's how serious I was about "If you can't propose before I make the big announcement, then ffs do NOT do so after." (I was in a blackout. Yes. I was pickled the entire first trimester while I ran scared from the thought that I was pregnant, again, without benefit of wedlock. Coming out of a pentecostal background has that effect.)
He told the judge at the child support hearing (that the county insisted on) that I told him he wasn't the father. The judge said "Be that as it may, Mr. G., the test results indicate to a degree of 99.989% that you are, in fact, the father." He refused to look at a picture of his daughter, who has his height, blue eyes, nose, chin, and build.
All that is to say - I didn't decide to stay pregnant because of him, or in spite of him. I did what was right for me, when I was ready.