Answer:

So the donkey said to Balaam, “Am I not your donkey on which you have ridden, ever since I became yours, to this day? Was I ever disposed to do this to you?” (NUMBERS 22:30).

GENESIS 3:1-7

You, Jemimah, are made in God’s image, right? You can talk and communicate. You can have a conversation with other human beings (also created in God’s image). Animals are not made in the image of God. And yet, you see in our Bible verse that God opened the mouth of a donkey and it talked. 

Whenever it will serve God’s perfect plan, He can use anything to convey His message, even a donkey. 

In the same way, God allowed Satan (the devil) to use the serpent to disguise himself and tempt Eve.

Source: https://answersingenesis.org/kids/bible-questions/why-cant-snakes-talk-today/