No, due to the spherical shape of the earth the sun is farther away from areas near the top and bottom of the earth while the center gets the most heat.
When water is heated it expands and volume increases. The more space it takes up the lower it’s density is.