Square waves form when two wave systems collide, creating dangerous ocean patterns that threaten boats and swimmers.