The apparnt motion of the rising and setting of the moon is caused by