According to the Newtons laws, the stength of gravity between any two objects depends on two factors. One is object mass and second is distance between the objects. Objects with greater mass have a stonger force of gravity between them.