No it’s not pollution but rather a natural formation.
Called a number of things; 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) 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 that stick to each other through surface tension. Due to its low density and persistence, foam forms at Wyndham Harbour when the winds reach 20+ knots blowing from the south or westerly directions. Sea Foam typically gathers at the A row and the promenade corner.