Because we do not want to fund Putin's war machine through oil.
And again.
This is not a choice. China and India buy Russian oil or they starve. There is no in between.
The trucks stop bringing food to grocery stores if they have no fuel.
Did Ukraine at any point send money, arms, or soldiers to help India fight Islamists in Kashmir, or to defend itself against Pakistan? Did Ukraine cut off trade and diplomatic relations with Pakistan out of solidarity with India? Since they didn't, why should India care about Ukraine's problems?