The reason is because before you go bankrupt, companies have the freedom can make sales, deals, partnerships, joint ventures, etc without "outsiders" messing with the deal.
But, once it hits bankruptcy, in a case like this, valuable assets get put up for auction by the bankruptcy judge and...