At the climax of Star Wars: The Rise Of Skywalker
Rey
dies while killing the bad guy,
Palpatine.
Then
Ben Solo,
comes and uses Force Life Transfer++ to save her life. But in the process, he dies and vanishes. So why did he vanish upon his death but she didn't vanish upon hers?