Universal gravitation and the gravitational field
Two masses attract with a force proportional to each mass and to one over the square of the distance between their centres, so the field $g = GM/r^2$ falls off with height and is about $9.8\text{ m/s}^2$ only near Earth's surface.
From AP Physics C: Mechanics.