What Causes Sea Foam on the Beach

What Causes Sea Foam on the Beach