All dogmas cause suffering because they force beliefs upon others.
Dogmatically religious people are those who think that they’re right and everyone else is wrong. For them, religion isn’t about self-development or experiencing the transcendent, but about adhering to a set of rigid beliefs and following the rules laid down by religious authorities. It’s about defending their beliefs against anyone who questions them, asserting their "truth" over other people’s, and spreading those beliefs to others. For them, the fact that other people have different beliefs is an affront, since it implies the possibility that their own beliefs may not be true. They need to convince other people that they’re wrong to prove to themselves that they’re right.
Dogmatic religion stems from a psychological need for group identity and belonging, together with a need for certainty and meaning. There is a strong impulse in human beings to define ourselves, whether it’s as a Christian, a Muslim, a socialist, an American, a Republican, or as a fan of a sports club. This urge is closely connected to the impulse to be part of a group, to feel that you belong, and share the same beliefs and principles as others. And these impulses work together with the need for certainty—the feeling that you "know," that you possess the truth, that you are right and others are wrong.
At the root of these impulses is a fundamental anxiety and sense of lack, caused by our sense of being distinct individuals, existing in separation to other people, and a world "out there." This generates a sense of being "cut off," like fragments that were once part of a whole. There is also a sense of vulnerability and insecurity, caused by our insignificance in the face of the world. As a result, we need to "bolster" our sense of self, to strengthen our identity. And religion, and other belief systems, helps us to do this.
Dogmatic religion is dangerous because it creates an in-out group mentality. It encourages people to withdraw empathy and morality from other groups, to see them as inferior and ignorant. Other groups can be seen as general entities, rather than as collections of different individuals. And when two groups are thrown together, with their different beliefs clashing, different beliefs that are an affront because they suggest that their own beliefs may be wrong, conflict and warfare are always close at hand.
https://www.psychologytoday.com/blog/out-the-darkness/201412/dogmatic-and-spiritual-religion