When there are discrepancies between expectations and reality, all kinds of distress signals go off in the brain.