The ice in the glass is in the form of solid while the water is in liquid form.
They do differ in the way that the ice is having its own shape while the water reflects the shape of the glass.
As water's temperature decreases, its density decreases. Then we can say that the water is denser than that of the ice cubes.