a follow up.
You often get stratification when fresh water hits the ocean. Sea water is denser, so the fresh can stratify on top.
This body of water could have been carried by currents a fair distance from the river mouth to where it has hit land and become agitated.
From Wiki:
Sea foam, ocean foam, beach foam, or spume is a type of foam created by the agitation of seawater, particularly when it contains higher concentrations of dissolved organic matter (including proteins, lignins, and lipids)[1] derived from sources such as the offshore breakdown of algal blooms. These compounds can act as surfactants or foaming agents. As the seawater is churned by breaking waves in the surf zone adjacent to the shore, the presence of these surfactants under these turbulent conditions traps air, forming persistent bubbles which stick to each other through surface tension. Due to its low density and persistence, foam can be blown by strong on-shore winds from the beachface inland onto sidewalks and streets.
Hope this explains it satisfactorally!