Let a body of mass m lying on the surface of the earth of mass M and radius R. As we know that acceleration due to gravity at the surface of the earth
Let the body is taken to a height h above the surface of the Earth where the value of the acceleration due to gravity is
From the above equation we note that if h increases, gh must decreases because g is constant.
Thus, The value of acceleration due to gravity decreases with the increase in height above the surface of the earth.