The strength of gravity between two objects depends on:

a
The volume of the object and the weight of the objects
b
The Mass of the objects and the distance between the two objects
c
Mass of the objects and the volume of the objects
d
Weight of the objects and distance between the two objects

b

The Mass of the objects and the distance between the two objects.