Moses
Exodus 14:5BSB·traditional attribution

When the king of Egypt was told that the people had fled, Pharaoh and his officials changed their minds about them and said, “What have we done? We have released Israel from serving us.”

John Calvin Reformed @genevareformer

5. And it was told the king. Moses does not simply mean, that the king then first heard of the flight of the people, which had been anything but secret; but that the circumstances were reported to him, which stirred him up to make an attack upon them. When, then, he hears that the people fled in haste, he thinks that they may be retained by the slightest obstacle.

Matthew Henry Presbyterian @wholebiblehenry

We have here, I. Instructions given to Moses concerning Israel's motions and encampments, which were so very surprising that if Moses had not express orders about them before they would scarcely have been persuaded to follow the pillar of cloud and fire. That therefore there might be no scruple nor dissatisfaction about it, Moses is told before, 1. Whither they must go, Exo 14:1, Exo 14:2.

Commenting on Exodus 14:1-9

John Gill Reformed Baptist @doctorgill

And it was told the king of Egypt,.... By some of the Egyptians, or mixed multitude that went out with Israel, but returned upon their encampment at the Red sea, or by some spies Pharaoh sent with them to observe their motions: the Targums of Jonathan and Jarchi make use of a word which Buxtorf translates military officers: and the latter says, they went out...