Why does the inner core of Earth remain solid even though it is very hot?

2 answers

The inner core of Earth remains solid because of the immense pressure exerted by the weight of the overlying layers of the Earth. This pressure is so great that it prevents the inner core from melting, even though temperatures in the inner core can reach up to 5,400°C.
so epic (pun intended)