in order to protect herself from experiencing anxiety, nancy is using a Defence mechanism
Defense mechanism refers to an unconscious effort that we made to protect us from any unpleasant feeling.
This will help us to stay calm and sane during a difficult circumstances