At least one reason is that when the airline was profitable, management agreed to relatively generous compensation to its employees. But with deregulation -- and then the internet, which allowed price transparency -- fares dropped precipitously. And the profits dried up because US was still obliged to pay the union contracts to which it had agreed previously.
BTW, this story can be said about most domestic legacy airlines...