The room is warmer than the ice
Heat always flows from hot to cold. The warm room keeps pushing heat toward the ice, through the wall of the cup.
Everyday Physics · Phenomenon 3 · Heat Conduction
Spot the pattern in daily life, then see the physics behind it. Pick a material and watch both pictures.
Ice melts faster in a metal container.
Metal conducts heat faster than many other materials, so ice melts sooner in a metal container.
Think of the cup wall as a doorway for heat. In metal the doorway is wide open, so heat from the room walks straight in to the ice.