So the brain is solving a statistics problem here--it's constantly looking for stimuli that predict future value and by doing so the brain can use these "value proxies" to make better decisions about the future.
Quotes are taken from the research journals of Kyle Vanderburg.