What is the primary cause of tides?

A. The Sun's gravitational pull on the Earth
B. Earth's rotation
C. The moon's gravitational pull on the Earth