That's because the moon is not inside the atmosphere. It's about 238,900 miles away, whereas the "edge" of the earth's atmosphere is about 62 miles above the surface of the earth (also known as the Kármán line).
You've basically got it backwards, the sky isn't seen through the moon, the moon is...