Think of all the groups that particularly emphasize on collectivism and suppress individualism: the Catholic Church, USSR, and other “Communist” entities. They tend to concern more about their group image than the horrendous abuse happened inside their own organizations.
(I was also going to list ISIS but at least they are consistent, and makes no attempt to appear not horrible.)
Groups with strong tribalist tendencies don’t just dehumanize the outgroups, they dehumanize the dissent and the victims of their own corruptions as well. They tend to put group interest ahead of individual rights and welfare, and the group interest oftentimes means the interest of people at the very top.
As someone who grew up in an authoritarian entity, one thing I observed in the field is that people who wasn’t granted sufficient freedoms themselves can in turn become more authoritarian as a result, unfortunately.
I suspect some people don’t know how to respect others’ rights because their group never respected their rights. They instinctly shape their own identity around groups (schools, corporations or religions), and put group interest ahead of individual welfare.
Freedom can be a learned mindset sometimes, through education and being lucky enough to be born in a free society.