It sounds like a classic balance of payments issue (importing too much compared to exports/tourism/other revenues) being hit with an exploding in price critical import (oil). Sri Lanka had the same issues just a few years back, was it "socialism" too?
[0] https://www.adamsmith.org/blog/india-and-the-tragedy-of-soci...
Nationalising a bunch of critical industries isn't "socialism" and the article utterly fails to explain how it is or why it's related. Historical UK, and modern France, Russia, UAE, Saudi Arabia also had multiple crucial industries which were fully nationally owned. Were they socialist too?
Some companies were even prosecuted for producing more than what was allowed. This was at least Nehru's (first Prime Minister) version of Democratic Socialism.
India as implemented Socialism btw. Which lead to economic crisis[0]
0. https://en.wikipedia.org/wiki/1991_Indian_economic_crisis