In addition to the moon and the sun, other factors that can affect tides include the shape of the coastline, the depth of the water, and the Earth's rotation. The shape of the coastline can cause tides to be higher or lower in certain areas. The depth of the water can also affect the height of tides. In deep water, tides are typically higher than in shallow water. The Earth's rotation also causes tides to be higher at certain times of day. For example, tides are typically higher during the day than at night.