How do government interventions in airline pricing during crises affect the balance between consumer protection and airline viability?

The government has imposed caps on airfares and ordered refunds due to flight disruptions. I want to understand how such interventions can protect passengers without harming the financial health of airlines.