The way you have interpreted the verse to mean God feared the other gods, is incorrect.
God of Heaven was concerned that the nations who He would use as instruments to chastise and punish His people, that they would be under the wrong impression. And draw the wrong conclusion.
They, the humans might think that because they defeated Israel/Judah therefore their gods are superior or they have the upper hand not understanding that it was God of Heaven who allowed this to happen as a corrective measure.
Therefore God is concerned how the other nations, their enemies, will interpret the correcting of Israel.
This is very evident from the text that follows
““For they are a nation void of counsel, and there is no understanding in them.”
Deuteronomy 32:28
This is referring to the enemy nation, we know this based on the next portion of passage
“How could one have chased a thousand, and two have put ten thousand to flight, unless their Rock had sold them, and the Lord had given them up?”
Deuteronomy 32:30
So your question incorrectly assumes the enemies are the gods. It is referring to the nations that these gods were allotted verse 8.
“When the Most High gave to the nations their inheritance, when he divided mankind, he fixed the borders of the peoples according to the number of the sons of God.”
Deuteronomy 32:8
Or according to the number of gods