why are square waves in the ocean dangerous