India had recently committed to stop buying Russian oil, but Iran closed the Strait of Hormuz, causing a global supply crisis.