What choice does Modi has otherwise?
Siding with Iran and pissing off Americans? Currently India wants to take the advantage of the confrontation between US and China to boost her own interest: attracting western investment and technologies. Being seen as US's enemy is last thing India wants.