We also know that the gravitational force between different heavenly bodies is directly proportional to the product of their masses and inversely proportional to the square of the distance between their centers. In position 'A', the distance is shorter; so the gravitational force is higher but in position 'B', the distance is longer; so the gravitational force is less than that in position 'A'.