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!
The pressure on the inner core puts the inner core into a solid state, therefore the temperature is hotter than the outer core, but not enough to melt a substance due to the pressure squeezing down from the other layers above.