The moon. Gravity between the Earth and the Moon causes water to bulge out.
Ocean tides are caused primarily by the gravitational pull of the Moon on Earth's oceans, creating bulges of water. As the Earth rotates, these bulges lead to the rise and fall of sea levels. The Sun also influences tides but to a lesser extent, leading to variations such as spring and neap tides.
;