Why did when we turn the glass, the water stays in the same position?

it’s more obvious when you put ice cubes in it, and even if you turn the glass, the ice cubes will still be in the same position.