It was a very common practice to speak of a Prophet with a different name than the one who actually spoke it.
Example:
John the Baptist was to come before Jesus to prepare his way. John would come in the same Spirit as Elijah,.
Speaking of John.....
Luk 1:17 and he will go before him in the spirit and power of Elijah, to turn the hearts of the fathers to the children, and the disobedient to the wisdom of the just, to make ready for the Lord a people prepared.”
Jesus's followers ask if Elijah had already come as was prophesied.
Mat 11:12 But from the time of John the Baptist till now, the Kingdom of the Heavens has been suffering violent assault, and the violent have been seizing it by force.
Mat 11:13 For all the Prophets and the Law taught until John.
Mat 11:14 And (if you are willing to receive it) he is the Elijah who was to come.
John the Baptist was not the person Elijah but John came with the same power, and the same Spirit as Elijah.
It is also interesting that in the Book of "Judges" those who were set up to judge the nation Israel were called "gods"
John 10:33 The Jews answered him, saying, For a good work we stone thee not; but for blasphemy; and because that thou, being a man, makest thyself, God.
John 10:34 Jesus answered them, Is it not written in your law, I said, Ye are gods?
John 10:35 If he called them gods, unto whom the word of God came, and the scripture cannot be broken;
These mortal people who Jesus said were called gods were not gods per se, only that when they spoke it was the Spirit of God speaking through them. When the Lord God speaks through you, you are just the instrument being used, and God himself is the one speaking.