Or the government may want to give their airline unfair advantages, which would decrease real competition and create a brittle industry. Or the government might want to strangle their own company, in order to declare that it is “bad and dumb” in order to manufacture popular support to privatize the public company.
One could make an argument that "Well look, it was costing the government taxpayer money!", and that's a valid point. But given how little the variation in prices are across airlines in India, it's similar to saying "The govt shouldn't do public transport if it loses money, even if society gains".
Customers hated them. They were top examples of when public management fails. They were expensive for the customers and costed the tax payers billions to be kept alive, and basically everyone rejoiced when they were let go (Alitalia being reborn as ITA Airways and effectively operated by Lufthansa, Malev just disappeared).
The problem with state run enterprises is that the accountability to voters is very removed. You elect parliament and government which chooses some administrator at random times which chooses some managers etc..
It's not impossible to do well (many state run companies are fine!) but it's hardly a guarantee.
Just recently HN discussed the „ban anonymity on the internet“ initiatives of various governments and who was behind it because nobody wants that. Certainly not the citizens.
The masses are mostly inert, elites and counter elites move the needle. Those who can manufacture consent win.