The effect of gravity depends on distance as well as mass, so the pull on the near side of the earth (to the moon) is greater than on the far side.
(The effect of gravity; depends; on distance as well as mass)
The effect of gravity
depends
on distance as well as mass