Perhaps it's simplistic to blame religion per-se, or entirely. It is tribalism that is part of the problem. Religion and religious teaching do compound the seperate identities and the problems.Sad how religion leads people to actions like this. Burma fears an Islamic take over and sadly it leads to tragic actions like this.
From:So much for Buddhists being peaceful.
..However[,] I have no doubt that Buddhist religious belief, as it was practised at the school, did a great deal of harm. Nowhere was this more in evidence than in the ramifications of the belief in karma. At first glance, karma is a lovely idea which encourages people to be good even when nobody is watching for the sake of happiness in a future life. It's a bit carrot-and-stickish, but so are a lot of the ways in which we get people to not routinely beat us up and take our stuff. Where it gets insidious is in the pall that it casts over our failures in this life. I remember one student who was having problems memorising material for tests. Distraught, she went to the monks who explained to her that she was having such trouble now because, in a past life, she was a murderous dictator who burned books, and so now, in this life, she is doomed to forever be learning challenged.