Groundwater flow direction into the ocean, and because sea water has a higher density than the groundwater which is fresh water, sea water and fresh water are on the press and pushed the sea towards override go out.
The flow of water into the sea, and the sea due to a higher density than water is fresh water, the sea and fresh water on the pressure pushes the water back off.
Groundwater flow direction is down to the sea, and due to a higher density than seawater groundwater which is fresh water and freshwater on sea water and press push waters retreat.