Fact 1: the moon revolving around the Earth causes the phases of the moon. 
Fact 2: Phases of the Moon are caused by a shadow from the Earth.
The Earth gets between the sun and moon and creates a shadow.