What does Newton's law of universal gravitation say about the distance between objects?
The closer objects are the more gravitational interaction between the two. The farther away the objects the less gravitational interaction between the two.
objects will have more gravitational interaction when closer and the further away they are they will have less.