Tides are basically the rise and fall of the sea level.

They are caused by the gravitational force from the moon and sun's rotation around the earth.

The way the tides are move are from the moon, the moon is in control of the tides.

Time and aptitude of tides are influenced by the alignment of the sun and the moon, the sun has some control but its mostly the moon.

The movement and how the tide moves, how far it comes it, if its high or low no matter what it does it is all caused by the moon, because it is a greater distance from the earth than the sun.