The correct option is A Earth's rotation
Days and nights on the earth are caused by the earth's rotation. It takes approximately 24 hours to complete one rotation.
During rotation, the surface of the earth that faces the sun receives sunlight and have daytime. The other part which is facing away from the sun, have night time.