The markets have plunged, and news of a recession is everywhere. Here’s where our evolutionary impulse to flee comes from, and why cashing out isn’t always the best decision.