Hashem’s question for Moshe[1]
ויאמר יקוק אל-משה מה-תצעק אלי דבר אל-בני-ישראל ויסעו
Hashem said to Moshe: “Why are you crying out to Me? Speak to the Jews, and journey”[2]
As the Jews reached the Reed Sea, they panicked. They were supposed to be freed from Egypt, but there was a barrier of water in their way. The Egyptian army was quickly approaching. We aren’t told how they reacted, but presumably they were terrified for their lives. The Torah doesn’t tell us what they did, but we are told Hashem’s response. Hashem asked Moshe why he was crying out to Him. Rashi explains[3] that Moshe was praying to Hashem that they be saved. Hashem responded that this wasn’t a time for prayer. They should journey towards the sea, and they shall find salvation. Indeed, the sea miraculously split, allowing their salvation.