The dissolved salt’s, dead algae, & organic matter. Is the cause of sea foam. This fun reality is filled with fishy bacteria not suitable for humans. Created by the impurities of the ocean. The sea foam is filled with tiny particles. When the storms roll in and the ocean is agitated by wind & waves. Sea foam forms. This is actually the act of nature & the ecosystem pushing the dirt out. A rare foam storm swamped a Scotland town. Most sea foam is not harmful to humans and is often an just soap suds like a washing machine. When large blooms of algae decay offshore, this helps in turning the the water red. Large amounts of decaying algal materials frequently wash up. This looks fun but sea foam's full of disease. And lot's of bacterial matter washed up on shore for the sun to dissolve. So this phenomena is naturally beautiful.