AIO by breaking up with my boyfriend over this?

I (23F) have been with my now ex boyfriend (20M) for three months. We have a really good time together and he’s been very very good to me. One issue that has been bothering me is he is quite jealous and insecure and it causes him to ask who I am texting or to see my phone. I am protective of my phone because everything is on there, it’s like my diary. I am not hiding anything and am loyal, but I just don’t like the idea of someone going through my phone. He spirals a lot when I say no you can’t see my phone. He has a slight drinking problem and acts out a bit more when drunk. We went out one night and a guy was flirting and being a fuckwit outside the pub, so my ex, E, has told him to stand up and fight. When the guy laughed and said it was a joke, E punched him in the mouth. He has gotten into a few fights ‘defending me’

Last night, we both got drunk and I went to bed leaving my phone in the lounge room. E comes bursting in furious as he has gone through my phone, somehow guessing the password, and had gone through everything. He found messages between me and a friend, D (25M), who I had bumped into at the gym that day. We had agreed to get coffee because he is moving like 3 hours away next week. He took this as cheating. I have just snapped and told him to go, and that we are done. I had told him in the past that going through my phone is a dealbreaker.

After getting my phone back, I learned that E had called D off my phone. I don’t know what was said, but I am totally embarrassed and mortified by this behaviour. D is worried about seeing me after the call yesterday which leads me to believe E had threatened him. I asked E to get all his stuff and leave and I dropped him home. He is trying to fix things and part of me feels bad because he is amazing in every other aspect. I just can’t handle the cheating accusations. AIO?