Well, technically the moon does have an atmosphere, but just a very thin one. The moon doesn't have enough mass to retain an atmosphere as "thick" as ours as its a much smaller planet. Much like Mars...it's much bigger than the moon, but still smaller than the Earth, resulting in an atmosphere that is still thinner.