The earth's gravity acting on the stone does not pull the stone vertically. Instead, the stone with gravity moves parabolically from starting point to ending point. Because the earth rotates circularly on its own axis. Note that the earth orbits the sun elliptically.