why g decreases with depth?

why g decreases with depth?
As the depth increased the mass of the earth decreases. At the surface of earth this value will be maximum because radius will be maximum. When radius becomes less this value also decreases. Hence acceleration due to gravity decreases with increase in the depth.
Full answer in: www.toppr.com
More questions like: why g decreases with depth?