The key driver of modern obesity is the high availability of varied and intensely pleasing flavors. Even thirty years ago food was more bland, and there was way less variety in the grocery store. 100 years ago cooking with spices was a rare treat. Animals get fat on what is called the "cafeteria" diet, where they are presented with the choice of a high variety of flavors and nutrients. They do not get fat when presented with a monotonous diet.
Low carb dieting works because you are reducing food reward by removing pleasant starchy and sweet flavors, so people eat less. Low fat dieting also works for the same reason; people have had success by eating mostly plain potato.