Shemot / Exodus 14:10
וּפַרְעֹה הִקְרִיב וַיִּשְׂאוּ בְנֵי־יִשְׂרָאֵל אֶת־עֵינֵיהֶם וְהִנֵּה מִצְרַיִם נֹסֵעַ אַחֲרֵיהֶם וַיִּירְאוּ מְאֹד וַיִּצְעֲקוּ בְנֵי־יִשְׂרָאֵל אֶל־יְהוָה׃
And Pharaoh drew near. And the children of Israel lifted up their eyes, and behold, Egypt was marching after them. And they were very afraid, and the children of Israel cried out to the Eternal.
Pshat פְּשָׁט
A fear they did not expect
Rashi: Pharaoh "brought himself near" and went at the head of his army. Egypt marched after them like one man, and the people cried out, taking up the craft of their fathers, prayer. Haamek Davar: the people did not fear Pharaoh's army, for the Eternal had promised to be glorified through it. They were afraid when they saw behind it a huge mass of Egyptians, which they had not expected.
How Rashi and Haamek Davar explain it
Remez רֶמֶז
The ungrateful Pharaoh
Kitzur Ba'al HaTurim: "and Pharaoh" at the start of a verse occurs three times. Pharaoh dreamed a dream, and Yosef (Joseph) interpreted it, but Pharaoh forgot this kindness and went to war against Israel. "Drew near" means he brought an offering to the idol Baal Tzefon. And "Egypt was marching after them" is Uza, the angel over Egypt, and so at the sea they sing: "My strength (עָזִּי) is the Eternal".
How Kitzur Ba'al HaTurim explain it
Drash דְּרָשׁ
The craft of the fathers
Midrash Lekach Tov: crying out to the Eternal, the children of Israel took up the craft of their fathers, prayer. Avraham (Abraham) "stood", Yitzchak (Isaac) "spoke in the field", Yaakov (Jacob) "met the place", and all of these are prayer. So too David and King Asa went with the Name of the Eternal, not with horses. The voice is Yaakov's weapon, and the sword is Esav's (Esau's).
How Midrash Lekach Tov explain it
Sod סוֹד
From fear to awe
Me'or Einayim: there is fear of punishment and awe before greatness. Fear of punishment is a level that has come down, and the main fear is hidden in it. Pharaoh, by "revealing" himself, brought the people near to the root: they feared punishment, but cried out to the Eternal. Therefore it says "that they go forward": from the lower level to the higher, and then the judgements are softened.
How Me'or Einayim explain it