You're making some broad assumptions. The university in my city has a lot of Iranian students, and some have even married locals and settled here. A few of the lovely Iranian ladies hosted a paid Iranian dinner meet, and I got to meet several of them. They’re well-read, have a liberal mindset, and their lifestyle is very different from the typical conservative Middle Eastern image you might expect. They seem to really enjoy their time in India, and the upper middle class here seems to appreciate them too.
I've also met quite a few Indians who’ve traveled to Iran, and they all rave about the culture, hospitality, and food. So, this "hate the Muslim thing" might actually be more specific to Pakistanis, not Iranians.
.