My friend and I stopped talking for a week after I got upset when she disappeared in the middle of the night in a dangerous neighborhood (where we were staying at the time) without her phone. She ignored me for a while, I reciprocated, and things escalated. 

That night I was so on edge I called my boyfriend to calm me down. He tells me I’m exaggerating. I admit that I may be, but i just wanted to be comforted. Now, my friend and my boyfriend were very close friends and go all the way back before I met any of them. We changed the subject and say goodnight. 

A few days pass and my boyfriend urges me to talk to her and reconcile, but I tell him I’m not comfortable at the moment and I’ll do it when my anger dies down since I’m not good at talking when I’m angry, but I assured him we would work it out. So one day he gives me an ultimatum and tells me he doesn’t know if he should believe in me given that my friend is telling him how I’m ignoring her. I tell him she’s doing the same to me and he stops texting completely. Days later my friend and I reconcile but my boyfriend still wouldn’t talk to me. 

Once back home (we were in another city), he calls me so I go to his house and he breaks up with me, saying that he doesn’t feel the same after the situation and how I could’ve handled it better. I admit I was wrong but tell him that him prioritizing and siding with my friend instead trying to understand where I’m coming from, made me feel alienated and like I truly was alone. We talked a bit more, and he lets out that he would’ve broken up with me soon anyways, since he’d be moving away because of a job offer. This of course broke my heart so I finish the conversation and leave. 
What makes me even sadder is that we were physically intimate for the first time less that a week before he stopped talking to me, which doesn’t make sense to me given that “his feelings changed”. 

Am I the asshole? Are we both the assholes? What do you say? I need some closure and obviously I’m not getting that first hand. 