If you default on home mortgage they don't get to
sue you, and seize the money from your bank account. Also if you die, the government does not pay off that debt.
A foreclosure is in many jurisdiction an expedited lawsuit.
And some mortgage loans, in some states, are full recourse -- they can go after other assets (including bank balances) and paychecks. That they often don't reinforces my original point: there are plenty of levers creditors theoretically have that can't practically be employed against mass defaults and poor/unemployed people.