This is a question similar to one wrestled with by Newton himself, who didn't understand why the planets didn't fall into each other. The reason satellites don't fly into space is because they are being pulled towards the planet by the planet's gravity.