The gravitational force between two object depends on their masses and on their distance.
Since the formula is

If the masses grow, the force also grows. But I'm assuming the two objects are fixed, so you can't enlarge their mass.
So, the only option remaining is to lower their distance: since it sits at the denominator, a smaller value of d results in a bigger value for F.
So, if you reduce the distance between two objects, the gravitational force between them will always result in an increase