Where the money comes from
A foreclosure or tax sale is meant to satisfy a debt, not to profit from it. When the winning bid at auction exceeds the mortgage balance, unpaid taxes, and permitted fees, whatever remains is surplus.
That balance is deposited with the court or the county treasurer and held there. It is not applied to anything else. It waits for a rightful claimant to come forward.
