What is the state of matter of a ice cube?
Ice is a solid.
Water at room temperature is in liquid state.
When the water gets heated up, the particles of water also heats up, causing it to expand. Thus water becomes water vapour, a gas.
When you freeze the water, the particles' motion slows down. The attraction within the molecules cause the particles to attract to each other, forming a solid bond. This continues throughout the matter and forms a solid.
P.S. Ice is only used for the solid state of water.
Hope this helps :)