Hot and cold water sat in copper cups on frost in a freezer. Frost slows heat loss, like a blanket.
Warmth from the hot cup melted the frost under it. So that cup touched the freezer floor better and lost heat fast, while the cold cup stayed on its frost. Hot water froze first.
On insulating plastic instead of frost, the hot water no longer won.