How we perceive an obstacle dictates whether we run away or stand and fight.