All weather is caused by the unequal heating of the earth from the sun
That is a question of buoyancy when you add the sugar to the water and let it dissolve it increases the density of the water so that the egg floats in the center of the glass.