Mad asf and disappointed.

I been with my bf for a year I get pregnant at 3 months pregnant he decides to get a new gf rubs it in my face and completely abandons me. And blames his actions on me. Why do guys do things like this ?