A history class at school age 16

So as you would in most classes, group work was the norm. I had a friend in my friendship group who was in the lower sets with me (the rest of my friends were in the upper sets in school.) This friend could be rather fickle depending on who else was around, sometimes friendly, sometimes rude and demeaning. In this particular instance, he was being rude, as we were asked to pair up into groups of 5. We usually worked together but in this case 3 guys in our class asked him if he wanted to work with them, I asked if I could join them too, and he said no we don't want you or something like that. That kinda got me a bit, because it wasn't that the group was full, it was he could but didn't want to interact with me. I ended up doing the work on my own as the rest of the class made groups. Pretty depressing thinking back on it lol.