Origin of Phases of the Moon