As for bankruptcy laws, I don’t know what I think. I am never comfortable with not paying debt. But it wasn’t illegal. As for laying people off, you lay them off of a losing business and you hire others with a winning business. You can’t keep paying people if the company is losing money.
The bankruptcy laws are a tool for businesses to survive.