The shoreline is affected by waves (produced by wind at sea) and tides (produced by the gravitational effect of the moon and sun). Waves are caused by wind. Wave height in the open ocean is determined by three factors. The greater the wind speed the larger the waves.