Ice (solid state) has extra energy in the form of latent heat of fusion `(335 " kJ kg"^(-1))` as compared to water. When ice is to melt, it takes energy from the surroundings to overcome this latent heat. The temperature of the surroundings gets lowered or cooling is caused. Since water is already in the liquid state, it will hardly take up any energy from the surroundings.