Those are major factors, but I think there's a much more fundamental factor: in an environment of material abundance, many people will chose to consume well beyond the point that is healthy.
Ultimately, it comes down to time preference: I can enjoy the sheet of brownies now, but I won't get fat and sick until later.