Prehistorically we straight up starved a lot of the time. Being able to get fat when in a time of abundance was an evolutionary advantage, we'd need that for the lean times. The fact that we are never in lean times is the problem, we're simply doing what our body was built to do.