Muslims then proceeded to kill 1 million Hindus during the chaos of partition. Conservative Hindus hated Ghandi for letting this happen. That is why a Hindu assassinated him.
Gandhi supported this policy only very reluctantly, after mobs had made it clear there was no other alternative.
Hindu and (especially) Sikh extrremists apparently killed about as many Moslems during the partition violence as Hindus and Sikhs were killed by Moslems. No group came out of that mess looking very good.
It is totally disingenuous to portray the partition violence as exclusively or even primarily a Moslem phenomenon.