In the past (hunter-gatherer days), humans were never certain of when the next food source would come, therefore calorie rich foods (such as saturated animal fats & animal organs as well as sugary foods such as fruits) were sought after so that we could build energy stores (fat) that enabled us to survive until the next substantial meal, which could've been days away.