India is navigating a tricky balancing act after U.S. President Donald Trump threatened a “penalty” over its continued imports of Russian oil — a trade that New Delhi appears reluctant to end anytime soon.

Despite Trump telling reporters Friday that he “heard” India would halt purchases, officials in New Delhi have remained noncommittal. Foreign ministry spokesperson Randhir Jaiswal said that the country decides its energy import sources “based on the price at which oil is available in the international market and depending on the global situation at that time.”

“The Indians must be having some confusion” following Trump’s threat — a reversal from the more tolerant approach taken under the Biden administration, Bob McNally, president of consulting firm Rapidan Energy Group, told CNBC’s “Squawk Box Asia.”

“Now we’re flipping around and saying, ‘What are you doing taking all this Russian oil?’” McNally said.

In March 2022 — a month after Russia launched its full-scale invasion of Ukraine — Daleep Singh, a former U.S. deputy national security adviser for international economics in the Biden administration, reportedly said that “friends don’t set red lines” and “there is no prohibition at present on energy imports from Russia.”