It could have been worse. She could have decided to keep it, tell you about it, agree on a name for the child, then suddenly change her mind and move away from you while still pregnant, pick out an entirely different name for your kid, and then collect child support from you while making it very difficult for you to have any contact with your kid.