I’ve suggested elsewhere that part of Yahweh’s answer to Job regarding the Leviathan is an invitation to learn to play with Leviathan (Job 41:4). Yahweh plays with dragons, and growing up into the glory and wisdom of the sons of God means growing up to play with dragons: Like Father, like son.
The first “wonder” that Moses performs for Pharaoh is essentially the same thing. The point of the sign of Moses’ staff is not primarily turning the staff into a serpent (though that is of course part of it). The real point is that Moses is able to take hold of that dragon by the tail and it submits to him (Ex. 4:4). The sign of the staff is Moses playing with/taming a dragon which is significant because Pharaoh is a dragon (cf. Ez. 29:3, 32:2), and Yahweh rules over him and can play with him. And Moses is a son who is learning to play with dragons (demons/human tyrants) like his Dad.
And ultimately this goes back to Adam in the garden. Adam failed to tame/play with the dragon and allowed it to seduce his wife. But God is a gracious Father, and He trains His sons to tame and conquer the dragons: sin, death, and every form of wickedness and evil.