It is a law of the inverse square. The force declines inversely as the square of distance. If two objects are moved twice as far away, the gravity now pulling them together is only one-quarter as strong. If they are over ten times farther away, the gravity is ten squared, 102 = 100 times smaller.