Moses
Numbers 20:21ESV·traditional attribution

Thus Edom refused to give Israel passage through his territory, so Israel turned away from him.

Matthew Henry Presbyterian @wholebiblehenry

We have here the application made by Israel to the Edomites. The nearest way to Canaan from the place where Israel now lay encamped was through the country of Edom. Now, I. Moses sends ambassadors to treat with the king of Edom for leave to pass through his country, and gives them instructions what to say, Num 20:14-17. 1.

Commenting on Numbers 20:14-21

John Gill Reformed Baptist @doctorgill

And the children of Israel, even the whole congregation, journeyed from Kadesh,.... Not directly, but after they had continued there some time, and had furnished themselves with provisions for their journey, which they bought of the Edomites, see Jdg 11:17, "the whole congregation" is observed to Journey from hence, not one of them being lost by the king of Edom's coming out against them; these...

Jamieson-Fausset-Brown Reformed @jfbcommentary

Edom refused to give Israel passage through his border, &c.--A churlish refusal obliged them to take another route. (See on Num 21:4; Deu 2:4; and Jdg 11:18; see also Sa1 14:47; Sa2 8:14, which describe the retribution that was taken.)