They do, but they’re also part of the same trade partnership, BRICS, along with Brazil, Russia, and South Africa. India also tends to be a US ally, so really they could go either way if it came down to WWIII or sit it out entirely if China doesn’t provoke them.