For the same reason the government isn't involved in every other sphere covered by private enterprises.
The government doesn't have any secrets of cost-efficiency. So, such services by the government will necessarily be more expensive than from the private sector.
So, what you ask is why software development isn't subsidised.