HELP!!!

The water level at the beach changes during the day. What causes the different water levels?
A. Earth's revolution
B. the Moon's rotation
C. Earth's magnetic field
D. the Moon's gravitational pull