Moon's disc shown at the right is the moon as viewed by an observer located on the earth below the moon. Sun is imagined to be to the left.
You will notice that both darkening and brightening begin from the right edge. See if that makes sense.
Diagrams are not to scale.