The two factors that change the pull of gravity between objects