For ice to melt, it needs to pull heat from the surrounding environment to break the tetrahedral bonding of hydrogen atoms that gives ice its crystalline structure. (The extraction of heat from the surrounding atmosphere is what grants ice its miraculous capacity to cool us down.)