In the ending of Indiana Jones 2, Indy accuses Mola Ram, the priest of "betraying Shiva" or something like that, causing the Sankara stones to ignite and eventually to kill Mola. How had Mola betrayed Shiva, aside from it just being a convenient way to kill him off?
It was due to his treatment of the Sankara Stones:
From the wiki:
Now, Shiva is one of the gods of the Hindi faith (and other faiths, but we focus on Hindi as it is prevalent in the movie). Now, as Indiana Jones, like any film, applies its own logic to religion in films, its important to see what the film thought about Shiva.
Now, the Lost Journal of Indiana Jones, released to coincide with the newest Indiana Jones film, mentioned how the diamonds inside the Sankara Stones could give warmth and life, but could also be used to destroy betrayers of Shiva.
Mola Ram, and his Thuggee cult, betrayed the teachings of Shiva by performing human sacrifice along with other evil acts, such as kidnapping children. By doing this, Mola had betrayed the teachings of Shiva and as such, the stones could be used against him when Shiva's name was mentioned by Indiana Jones. The stones heated up and the wrath of Shiva was brought upon Mola Ram.