Am I overreacting?

My boyfriend and I have been together for 8 months. In the beginning of our relationship, I knew going in he had trust issues and had a very bad relationship prior to me. He had a hard time with my past (just guys being on my Snapchat occasionally talking as friends). I knew this bothered him so I ended up blocking everyone he felt uncomfortable with being on my Snapchat. I do not talk to any men and I have kept them all blocked. Monday, his phone was in front of me and he got a message from an ex. I know it’s his ex because he made it clear to me they used to have a thing. Turns out they’ve been ig messaging she’s asking about his 3 year old. Then I ask him about it and he gets so offended, leaves the house, edits the screenshot pics when I ask to see it, leaves certain parts of the convo out and is acting so weird. I am so mad because he’s doing the exact same thing he didn’t want me to do. The exact same thing he made me block all these people and he’s doing the same thing he didn’t want me to do. I’m very hurt and confused. Am I overreacting? What should I do?