The dying malls are mostly in less affluent and more rural areas where land isn't in especially high demand. That's certainly the case with the one fairly near me.
Folks on this board might be familiar with Valco, a mall which has been dying for thirty years. Smack in the middle of Cupertino, which no-one would describe as less-affluent or more-rural.