It's because Israel has been providing training for the Indian armed forces. They're less friendly and more "They're not Pakistan." You also need to remember that Iran is allied with China, and China and India are serious economic rivals. It makes sense for them to watch on the sidelines.
Comments
Watching the sidelines could also risk iran fully embracing china as an ally. (iran doesnt really have much military cooperation with china)