Ocean tides are primarily caused by the gravitational pull of the moon on Earth's oceans. The moon's gravity creates a bulge in ocean water on the side facing it. The sun also contributes but has less effect due to greater distance. Earth's daily motion affects tides but doesn't cause them.