This is freezer burn, and it happens because ice in the frozen food sublimates — that is, the water changes directly from a solid to a gas rather than first melting and then evaporating.
Granite, which usually forms from magmas that cooled and partially re-melted over and over—the minerals like quartz in granite melt easily, so they liquefy and separate from the leftover solid as rocks start to melt.