Answer:

Step-by-step explanation:
Both gravitational and electrostatic force follow the inverse square law .
According to which , Force is inversely proportional to the square of distance between the bodies/charges . That is ,

Hence as r increases, F decreases.