a comet is approaching earth what happens to the earths gravitational pull as the comet gets closer to the ground