The reason they got upset is because they changed the topic immediately instead of considering the point their friend was making.
People get frustrated with people buried in politics because every single conversation turns into politics. Their friend wanted to talk about nice holiday nonsense, and instead its a conversation about politics.
I think it helps to give people the benefit of the doubt instead of jumping to accusations of hypocrisy. And if it really keeps happening, you know you won’t fit with that group anyways so best to move on.
This way you deal with the actions you don’t like people doing in a way that doesn’t cause a negative mindset.
Although I will admit, its not like its the easiest thing to just find a new friend group in general so it could get tiring for sure.