Earth's pull 'shaped Moon's surface'