The phases of the moon are caused by the varying amounts of sunlight that reflect off the moon's surface as it orbits around the Earth. The different phases occur as the relative positions of the Earth, moon, and sun change, causing different portions of the moon to be illuminated.