The hottest lava gets about 200C lower than the melting point of what looks like stainless steel. And the water inside will actually wick that temperature from the outside into the water pretty effectively.
That's also why you can boil water in a paper cup by placing it over a flame. The water eats the eat like a hungry jiraffe.