Question: why atmosphere stays on earth?
Answer: Fortunately for us, Earth's gravity is strong enough to hold onto its atmosphere. Mars, for example, is less than half Earth's size and around one-tenth Earth's mass. Less mass means less gravitational pull. ... That means, the air nearer Earth's surface is squished by the air above it, and is thus denser.