When the brain makes a bad move on us