forgot to mention, it is not unilateral.
BOTH parties assumed the risk the collateral would devalue.
In bankruptcy, splitting the unsecured portion of the loan from the value of the collateral is logical.
But it takes an adversary proceeding to strip off the negative equity in a bankruptcy case. Most mortgagees cannot afford such a proceeding.