What do you think?

So, I have 2 close friends, friend A and friend B, both I knew since I was very young. With both relationships, we had our up and downs where we didn’t talk for a while but then in the last few years reconnected again and became close friends again.. the 3 of us.. which both and one point called me their best friend. But recently I’ve been feeling excluded, where friend A would hang out with friend B and not invite me out. It seems to me friend A will try to hide the fact that they’re hanging out but friend B is very vocal about them hanging out. It’s happened multiple times. So I’ve decided not to speak to both of them, is it wrong of me for just cutting them out? Or would you feel that it was done on purpose to exclude me?