I think it must be more complex and subtle than that. Isn't India the home of the Kama Sutra? Like, if any country can claim to be the world experts on sex, it's India, they even beat the Dutch.
The wikipedia articule seems to use revisionist language and lacks sufficient references so I would be interested if there any historians present with better information.
The Indians welcomed the muslims because although they were happy playing sittars and doing yoga they missed contact with the wider world and so welcomed the rich ethnic diversity of the mughul empire and then lived happily together in peace and love until the British deliberately caused religous strife in 1946 by forcing the muslims to move to Pakistan.
See also - how native american tribes lived in peace and harmony together and at one with nature until the British arrived.