This video, from the Smithsonian Institution in the USA, says about itself:
3 April 2015
These are the eggs of Ragged Sea Hares (Bursatella leachii). These eggs, which resemble silly string, were laid in our Seagrass Ecosystem.
Sea hares are sea slugs. Unlike real hares, which are mammals.