Because the mortgage company has an insurable interest in the home. If you decide to buy a boat, throw a Crack party, then let the house foreclose while you live on the beach in the Bahamas, then the insurance company gets to pay for those damages a second time when the mortgage company finds that nothing was repaired.