When ice takes in energy, the water molecules inside of it start moving faster and creating friction, which causes heat. This heat makes the ice melt and turn into the liquid water. If you want to experience heat from friction, rub your hands together very fast. Hope this helped!