Then it would also be pretty cheap for the lender to insure against borrower's death or to bear the low (amortised) cost.
There is no reason a guarantor couldn't be responsible only for wilful failure to pay but not for after death.
I'm not saying these things apply in the agreement under discussion or under the relevant laws but just that different structures are possible.