As planets get farther from the sun the sun's gravity on them becomes
stronger weaker
A B
Even though the Sun is much larger than the Moon, the pull of the Suns gravity is much less because the Sun is much farther away.