Why is the moon believed to be made of cheese?

The craters of the moon made it resemble Swiss cheese so people made up the joke that it was made of cheese.