Of course sea surf foam forms wherever waves crash on shores. Windy conditions tend to whip up the white sea foam more. Where foam lands on pure sand or pebble beaches, the speed of seawater sinking in is directly related to the size of the sand grains or pebbles with the larger the size, the faster it disappears. On an ordinary beach one will never see the above because the seawater sinks in too quickly. Another thing that occurs is sea foam bubbles pop faster in a breeze than when the air is still. Where I like to photograph the above three situations come together. One, the beach is all stony pebbles instead of fine sand that makes for more photographically interesting elements beneath the magnifying bubbles. Two, an adjacent mass of rock blocks the usual sea breeze. Three, areas of monolithic bedrock shelves mix with zones of pebble stones and provide level basins covered by shallow depths of pebbles where the surf drains off slowly. Thus shallow pools where the crashing surf and foam float atop. I wait beside pools of foam atop water till the level drops to just above the level of the pebbles. And the geology and life of that coastline might have some effect on the seawater chemical makeup and thus tendency to form foam with usable film thicknesses for constructive interference.
...David