-- The density of the glass alone doesn't change.
-- The density of the water alone doesn't change.
-- The density of (the entire glass + everything IN IT) increases,
because the part that used to be air (with very low density) is
changed to water (with much higher density than the air had).