Most of the time is because people believe their religion is the “true” religion or the correct one to follow. This leads to immoral actions like forcing your religion upon others who don’t believe in the same beliefs as you. This can also spark other immoral actions that can harm others because you believe that they have lost the touch between your religion and that they must be punished for not agreeing or having the same beliefs as you.