he like you, he was just having fun, you got pregnant "in his mind you broke the rules" even though he contribute to it. you scared the heck out of him, he wanted to make sure you got rid of it. but he's afraid of that happening again, this is why he's ignoring you.
that's why it's good to hold off on a sexual relationship until you establish a relationship with the guy. have you heard of the three month rule....take time to get to know the guy, you might find out you dont like him and dont want to have sex with him.
and another piece of advice is dont bother dating guys that have different interest than you, because that will only lead to confusion.
write a list of things that you want in a man. so when you meet someone i don't want you to settle.