The second question is stated when they ask him, Who then? Are you Elijah? Here we should note that just as the Jews awaited the Lord who was to come, so too they waited for Elijah, who would precede the Messiah: "I will send you Elijah, the prophet" (Mal 4:5). And so those who were sent, seeing that John did not say that he was the Messiah, pressed him that at least he state if he were Elijah. And this is what they ask: Who then? Are you Elijah?
There are certain heretics who say that souls migrate from one body to another. And this belief was current among the Jews of that time. For this re...ason they believed that the soul of Elijah was in John's body, because of the similarity of John's actions to those of Elijah. And they say that these messengers asked John whether he was Elijah, i.e., whether the soul of Elijah was in John. They support this with Christ's statement, "He is Elijah who is to come," as is found in Matthew (11:14). But John's answer conflicts with their opinion, as he says, I am not, i.e., Elijah.
They counter this by saying that John answered in ignorance, not knowing whether his soul was the soul of Elijah. But Origen says in answer to this that it seems most unreasonable that John, a prophet enlightened by the Spirit, and telling such things about the Only Begotten Son of God, should be ignorant of himself, and not know whether his soul had been in Elijah.
So this was not the reason John was asked, Are you Elijah? Rather it was because they took it from Scripture (2 Kings 2:11) that Elijah did not die, but had been carried alive by a whirlwind into heaven. Accordingly, they believed that he had suddenly appeared among them.
But against this opinion is the fact that John was born from parents who were known, and his birth had been known to everyone. So it says in Luke (1:66) that all said, "What do you think this child will be?" One might say to this that it is not incredible that they should regard John in the manner described. For a similar situation is found in Matthew (14:1): for Herod thought that Christ was John, whom he had beheaded, even though Christ had been preaching and was known for some time before John had been beheaded. And so from a similar stupidity and madness the Jews asked John whether he was Elijah.
Why does John say, I am not Elijah, while Christ said, "He is Elijah" (Mt 11:14)? The angel gives us the answer: "He will go before him in the spirit and power of Elijah" (Lk 1:17), i.e., in his works. Thus he was not Elijah in person, but in spirit and power, i.e., because he showed a similarity to Elijah in his works.
This likeness can be found in three matters. First, in their office: because as Elijah will precede the second coming of Christ, so John preceded the first. Thus the angel said, "He will go before him." Secondly, in their manner of living. For Elijah lived in desert places, ate little food and wore coarse clothing, as recorded in 1 and 2 Kings. John, also, lived in the desert, his food was locusts and wild honey, and he wore clothing of camel's hair. Thirdly, in their zeal. For Elijah was filled with zeal; thus it was said, "I have been very zealous for the Lord" (1 Kgs 19:10). So, also, John died because of his zeal for the truth, as is clear from Matthew (14:6).
Then when he says, Are you the Prophet? the third question is presented. Here there is a difficulty, for since it is said in Luke (1:76), "And you, child, shall be called the prophet of the Most High," why does John, when asked if he is a prophet, answer that he is not a prophet?
There are three ways of answering this. One is that John is not just a prophet, but more than a prophet. For the other prophets only predicted future things from afar: "if there is a delay, wait for it" (Hb 2:2). But John proclaimed that the Messiah was present, pointing him out with his finger: "Look, there is the Lamb of God," as it says below (1:36). And so the Lord says that he is more than a prophet (Mt 11:9).
Again, in another way, according to Origen, because through a misunderstanding the Jews associated three great personages with the coming of Christ: Christ himself, Elijah, and some other person, the greatest of the prophets, about whom Deuteronomy (18:15) says: "The Lord your God will raise up a prophet for you." And although this greatest of the prophets is in fact none other than Christ, according to the Jews he is someone other than Christ. And so they do not ask simply whether he is a prophet, but whether he is that "greatest of the prophets." And this is clear from the order of their questions. For they first ask whether he is the Messiah; secondly, whether he is Elijah; thirdly, whether he is that prophet. Accordingly, in Greek, the article is used here as signifying the prophet, as it were, antonomastically.
In a third way, because the Pharisees were indignant at John for assuming the office of baptizing outside the order of the law and their tradition. For the Old Testament mentions three persons to whom this office could belong. First, to the Messiah, since "I will pour clean water upon you, and you will be cleansed" (Ez 36:25), are words considered as spoken by the person of the Messiah. Secondly, to Elijah, of whom it says in 2 Kings that he divided the water of the Jordan, and crossing over, was taken up. Finally, to Elisha, who made Naaman the Syrian wash seven times in the Jordan so as to be cured of leprosy, as mentioned in 2 Kings (c 5). And so when the Jews saw that John was baptizing, they believed that he was one of those three: the Messiah, or Elijah, or Elisha. Accordingly, when they ask here, Are you the Prophet? they are asking whether he is Elisha, who is called "prophet" in a special way because of the many miracles he had performed; hence he himself says, "Let him come to me, so that he may know that there is a prophet in Israel" (2 Kgs 5:8). And to this John answers, No, I am not Elisha.
Source: Commentary on John