The liquid outer core and the inner core are made of nearly the same materials, why do you think the inner core solid?

You got me??? Inner and outer core of WHAT? Are you talking about an atom bomb? the foot of a duck? an airplane? maybe a tornado?