As you know the color of the sea is blue.
And near the coast there is a little distance between the bottom and surface of the water.
That's why the sunshine reflects very easily from the surface.
And the Color of the sunshine is Yellow.
So near the coast, the color of the sunshine mixes into the color of sea.
Yellow + Blue = Green