The end and object of Heaven is the glory of God. So, too, the end and object of Hell is the glory of God. God is glorified in the just condemnation of sinners.
Why is there a Hell? What is Hell? How can a good God send anyone to a place of eternal torment?