That would be 2 groups with extreme opposing values and beliefs, acting on those values and beliefs. Not cognitive dissonance.
Cognitive dissonance is when a person’s actions are contrary to their held beliefs causing a level of discomfort to that individual. A pretty big stretch to apply that...