There's also a mental health factor. Fat/sugar/salt is a kind of reward/temporary boost of good feeling, and if you're feeling stressed it can help (or seem to, in the moment). Same of course with alcohol/tobacco/etc. Unrealistic, but if people in general had less stress in their lives and easier access (or access at all) to mental health professionals they might not feel as much of a need to get their fix.