Having set forth the occasion for showing the sign, the Evangelist then states the sign which would be given. First, he gives the sign. Secondly, he mentions the fruit of the signs Christ performed (v 23). As to the first he does three things. First, the request for the sign is given. Secondly, the sign itself (v 19). Thirdly, the way the sign was understood (v 20).
The Jews ask for a sign; and this is what he says: What sign can you show us authorizing you to do these things?
Here we should note that when Jesus drove the merchants out of the temple, two things could be considered in Christ:... his rectitude and zeal, which pertain to virtue; and his power or authority. It was not appropriate to require a sign from Christ concerning the virtue and zeal with which he did the above action, since everyone may lawfully act according to virtue. But he could be required to give a sign concerning his authority for driving them out of the temple, since it is not lawful for anyone to do this unless he has the authority.
And so the Jews, not questioning his zeal and virtue, ask for a sign of his authority; and so they say, What sign can you show us authorizing you to do these things? i.e., Why do you drive us out with such power and authority, for this does not seem to be your office? They say the same thing in Matthew (21:23): "By what authority are you doing these things?"
The reason they ask for a sign is that it was the usual thing for Jews to require a sign, seeing that they were called to the law by signs: "There did not arise again in Israel a prophet like Moses, whom the Lord knew face to face, with all his signs and wonders," as is said in Deuteronomy (34:10), and "The Jews require signs," as we find in 1 Corinthians (1:22). Hence David complains for the Jews saying: "We have not seen our signs" (Ps 73:9). However, they asked him for a sign not in order to believe, but in the hope that he would not be able to provide the sign, and then they could obstruct and restrain him. And so, because they asked in an evil manner, he did not give them an evident sign, but a sign clothed in a symbol, a sign concerning the resurrection.
Source: Commentary on John