Two bulges and a turning Earth
The Moon pulls the near side of the ocean slightly more than the solid Earth, and the Earth slightly more than the far side of the ocean. The result is two gentle bulges of water, one facing the Moon and one facing away.
As the Earth rotates beneath those bulges, most coasts pass through two high waters and two low waters in a little over a day. The extra fifty minutes or so each day comes from the Moon moving along its own orbit while the Earth turns.
This tidy picture is only the starting point. Continents block the bulges, basins resonate like water in a bath, and some places see one tide a day or almost none at all.