In recent years, airlines often have been vilified in the past for treating customers badly. This went on long enough that the government stepped in with a "bill of rights." I think it was needed. The airlines could probably have been more proactive, and those that were could have or did gain market share. Nevertheless, the new "bill of rights" has raised the potential cost of doing business.
In this article from The Wall Street Journal (free content at this posting), we read that some airlines are responding by cutting back on flights - reducing the quantity supplied for each price - with consequences for the consumer. Are these unintended consequences of decisions to regulate, or could these have been foreseen? I leave it to you.