Yeah, but, that heating takes time. It would have to be damn near instantaneous. Time that is hard to visualize with something coming in that fast. The outer layers would ablate and protect the interior from much heating, how space capsules survive reentry of course.
The energy is certainly there, as evidenced from Karakatoa doing it's thing when water got into the magma chamber. But that huge chunk of rock did not sit and cook.
Without know the true velocity and angle it came in at, how long it took to transit the atmosphere is unknown, but could not have been more than a few seconds and probably a lot less.