Boyfriend Broke up with me

So, today, my boyfriend of almost 2 months broke up with me. It wasn’t that long and I shouldn’t be this upset but I’m pretty upset. We got into our first fight last week because I got kinda upset when he kept cancelling on me. He told me I need to learn to communicate better so I told him I would work on it. We were fine since and even have been having sex again these past few days then out of no where today, he tells me we need to talk. He breaks up with me because he says we want two different things from a relationship and that he can’t deal with my communication issues. I told him I would work on it but he can’t expect me to change over night you know? I just want to know what switched from yesterday to today. We were cuddling yesterday and now I am alone and crying :) Any tips on how to get over a breakup? I have never gone through this before and think I may just not pursue dating for a long time.