Back in the days of early humanity, these foods were not a health threat but key to survival as highly concentrated calorie sources were harder to come by. High fat? Bring it on! Gotta stock up for winter.
Nowadays, most of us don't have to worry about any calorie shortages. We eat the tasty foods for emotional reasons more than the fact that we actually need it biologically.