The ocean carved out a hole in the rocks, and water shoots out from it when the waves are rough enough.