Ocean tides are caused by the rotation of the Earth and the gravitational pull of the Moon and Sun.