This is really basic, but it's well known that people who are stuck with certain emotions (and behaviors) can begin to transform them by:
a) understanding what the feeling is, and
b) why they are feeling it.
Once you have that information, and are sure of it, you can extrapolate where it's coming from and correctly associate it with your real situation/problems. Often that means lessening the burden of the emotion because you realize it's "just X".
For example, a couple of years ago I started to have panic attacks when ruminating about weird things like the infinite vacuum of space, the simulation hypothesis, the nature of sensory signals, etc. Then I thought about why I would get scared and how I felt that fear, and realized it was because I was scared of being disconnected - essentially afraid of being alone. I recognize that as the true fear, and it's a lot easier to manage than "nothing is real and nothing makes sense", which is essentially just my imagination extending that base fear.
Of course the truth is that the pandemic era caused a lot of alienation, created deeper political and cultural rifts, and destabilized the entire world. That's my actual situation, so it's no wonder I feel that way, and I can address it however I see fit.
It's a way to ground yourself and break out of things that hold you back mentally.