The moon is visible only on one side that lights the sun but the earth observer sees a different time in half illuminated differently. The moon changes its visible form, and these changes are called phases.
Link to this page with a photoshop brush «Cycles moon phases»: