The real answer is because molecules of ice are constantly escaping into the water (melting), and molecules of water are being captured on the surface of the ice (freezing).
All the energy is going into melting the ice cube. The temperature of the water cannot rise until the ice cube has completely melted and thermal equilibrium has been achieved.