Trust your gut. But give them a chance and see if it happens again, sometimes people do have their own stuff they are dealing with hey. This happened to me and it turned out one woman had been unkind and the whole group have adopted her unpleasant, scewed thoughts.
My ex also tries to persaude anyone who will listen that I am evil; sadly some people do pick a side – more fool them.
I can also relate to feeling so miserable it feels better to not be with people. For me I’ve decided to keep it this way until I can take my sociable self along to these things again, so for now I see only those I am close with now and again, those who accept me and however I am feeling on that day x