I would think that the exact opposite is true. Every object in space slowly loses its atmosphere. Mars has little. Earth’s Moon has none. The Earth is too large and too close.
Actually the does have an atmosphere. It’s hardly more than a vacuum. But it does have one. It has gravity and will hold a certain amount of gas within it.