The strength of the gravitational forces between two objects is completely determined by
<em>-- the masses of the objects</em>
<em>-- the distance between the centers of the objects.</em>
Nothing else has any effect on the strength of the gravitational forces between them. Not their motion, or other forces acting on them, or a steel, concrete, and Kryptonite wall between them.