During absorption, frequency of the incoming light wave is either near or at the energy level of the electrons in the matter of the material. The electrons will absorb the energy of the light wave and change their energy state.
The Earth's rotation has no relation to the phases of the moon. Like everything else in the sky, the moon rises in the east just like the stars, planets, and the sun.