A new study is challenging one of neuroscience’s most enduring ideas: that the brain’s reward system exists to make us feel good. Instead, researchers argue that it is built to optimize energy.