Where does the state get wealth from? Why does the treasury sometimes become so empty that there is a fight even for salaries?

For the first time in Himachal Pradesh, employees could not get their salary on time. In view of the financial crisis in the state, there is talk of extending the salary date. This issue is being discussed across the country. Even political allegations and counter-allegations are being made, but the question is that where does