There are many factors that causes tides to occur in the ocean. However, the most significant is the gravitational pull of the moon. Basically, different tides form because of the gravitational attraction between the Earth and Moon. Hope this helps and have a great day!