When ice melts, it absorbs the energy equal to the latent heat of fusion from the surroundings, therefore causing a cooling effect. But steam releases the extra heat (equal to the latent heat of vaporisation) which it has absorbed when water was converted into steam. So, steam produces severe burns.