The division between Muslims and Hindus was created decades before the implosion of violence between the two communities.