It is called emotion-focused coping. This type of coping involves efforts to regulate the emotions that a person experienced because of a certain stressful event.
The recurring negative thought focused on the stressor is called emotional distress.
The emotional-approach coping also involves focusing on, clarifying, and working through emotions.