There are various factors which created a gap between the Hindu and Muslims:
The British evil policy of divide and rule which sowed the seeds of hatred.
The propaganda by the vested interests by giving hate speeches.
The illiteracy and conservatism also makes people easy victims of division.
The communal politics which is leaving no stone unturned for vote banks at the cost of dividing the nation into religions.