At the coastal margin, fresh groundwater flowing from inland areas meets with saline groundwater from the ocean.
The higher pressure and density of saltwater causes it to move into coastal aquifers in a wedge shape under the freshwater.