In the ancient Near East, trumpets were used for many purposes. They were used to call people together. They were also used to lead people into battle.
Each tribe had its place in line as did the tabernacle. Their movements through the desert were very deliberate and ordered. (See: [[rc://en/tw/dict/bible/kt/tabernacle]])