Here's why:
* Extreme Heat: The inner core's temperature is estimated to be around 5,200°C (9,392°F), hotter than the surface of the sun. This intense heat comes from the decay of radioactive elements within the Earth's mantle.
* Solid State: Despite the extreme heat, the immense pressure from the weight of the entire Earth above it forces the iron and nickel in the inner core to compress into a solid state. Think of it like squeezing a block of ice so hard that it turns into a solid even though it's above its freezing point.
It's important to note that the inner core is not a "solid" in the same way we think of rocks. It's more like a super-heated, dense fluid that can't flow easily.
Let me know if you have more questions about the Earth's core!