Is it normal that when you think of death, instead of fear, an inexplicable pleasure rises in you? How do I deal with it?
This is actually normal; we all have the life instinct and the death instinct intertwined within us.
The "life instinct" encompasses the desire for self-preservation and emotional drive, while the "death instinct" points to a natural tendency to destroy or end.
Like those young people in the news who stood on the edge of a tall building, their impulses are just a manifestation of the death instinct. When people shed tears when they are happy to the extreme, fantasize about death when they are at the peak of happiness, or explode into life in despair, these are all dynamic balances between the life and death instincts.

The death instinct is externalized as attack or war, and internalized as thoughts of self-destruction. The alternation between life and death is precisely what constitutes the complete picture of life.
The death instinct is innate and is as deeply embedded in our subconscious as the desire to live.
Many people may not be aware of their own death instinct, but if you have ever had a flash of "death", this is a sign of it.
The death instinct often manifests itself in the form of an avoidance mentality - for example, when people say, "Money doesn't come in life, it doesn't go out of life" - the coolness behind this statement is the quiet emergence of the death instinct.
When the emotion is so strong that we fantasize about "ending" the moment, like pressing the pause button.
Unlike the pathology of a depressed person who begs for death, the instantaneous urge to die is more like a spark of human empathy.
This impulse stems from primitive emotions: the desire to blend in with nature in the face of a beautiful landscape, the desire to freeze eternity in the heat of love - the stronger the instinct to love, the more "death" will be used to symbolize perfection. But this is not the same as morbid suicide, which is the cry of a life-and-death struggle.