This refers to the time when the Israelites left Edom to start conquering the people in Canaan. Yahweh empowering his people to defeat the people of Canaan is spoken of as if he were a warrior leading the Israelite army. (See: [[rc://en/ta/man/jit/figs-metaphor]])
Possible meanings are 1) this is poetic language that emphasizes Yahweh's power by describing it as causing earthquakes and storms or 2) the people of Canaan being terrified as the Israelites were about to attack them is spoken of as if the earth and sky were shaking. (See: [[rc://en/ta/man/jit/figs-metaphor]])