Mall landlords are increasingly walking away from struggling properties, leaving creditors in the lurch and posing a threat to the values of nearby real estate.

As competition from online retailers batters store owners, some of the largest U.S. landlords are calculating it is more advantageous to hand over ownership to lenders than to attempt to restructure debts on properties with darkening outlooks.

That,...