Since the sea was closing in on top of the Egyptians, instead of escaping, they were actually running right into the water.
"Yahweh threw the Egyptians"