When the mass of ether object or both objects increases, the gravitational force of attraction between them increases. When the distances between the centers of the two objects increases, the gravitational force of attraction between them decreases.