i'll give you brainliest if you put this in your own words
The pressure on the inner core makes the inner core into a solid state, the temperature is hotter that the outer core but it's not hot enough to melt a substance do to the pressure squeezing down from all the layers above!