Heaven, increases all feelings to their extreme quality. Hell, decreases all feelings to their minimum quality. So if someone dies feeling sorrow, rage, hate and goes to heaven they’re going to feel all those to their extreme, that is why god creating hell is actually an act of love because he wants us to feel sorrow, hate, rage as little as possible and feel love to its extreme.
The problem of hell is a version of the problem of evil.
It might be worth reading this: https://plato.stanford.edu/entries/evil/
If it’s too technical, you might try the Wikipedia article, here are a few excerpts:
…
…
It should also be mentioned that most lay people’s concept of hell is radically different than the hell as described in various scriptures. I would be wary of any singular depiction of hell even within a religion, as scripture often has contradicting things to say about hell (with multiple plausible interpretations), and contemporary beliefs about hell are more informed by popular culture than scripture anyway.
Again, I direct to Wikipedia for the different depictions of hell: https://en.wikipedia.org/wiki/Hell