I fail to see what direction the sun strikes the moon has to do with anything. The moon’s mass isn’t increasing.
Mass is not increasimg, but gravitational force is proportional to r(squared).
Mass is not increasimg, but gravitational force is proportional to r(squared).