system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: why do out brains release endorphins when we eat refined-sugar products, but don’t when we eat nutrient-rich vegetables?

I understand refined-sugar foods are a tremendous source of energy, and we need energy. But what about the micro nutrients that our bodies supposedly need that are in vegetables?
gpt
Good sources of energy had been harder to come by throughout human evolution. Vegetables grow everywhere, so they're not as important to seek out -but energy-packed sugary and fatty foods were scarcer, therefore it was an evolutionary advantage to seek them especially.