In the latter image of a more direct impact, yes, most of it would be vaped.
There is water in the mantle of the Earth which is full of molten rock.
You're forgetting the entire concept of impact excavation, it isn't like this object simply smashed into the Earth and vaporized everything.
There would have been utterly pulverized material, yes, but there would have been a huge amount of relatively intact material hurled into space, or else it wouldn't have lingered in the Earth's path.
Lighter, pulverized material would fall inwards or be blown outwards, larger material, from dust/pebble sizes and upwards, would have coalesced.