Next we see the second opportunity Christ had to present his teaching, that is, the amazement of the people. First, we see the object of their amazement; secondly, their amazement itself, and thirdly, the reason why they were amazed.
The object of their amazement is the doctrine or teaching of Christ. Both the time and the place of this teaching are given. The time is mentioned when he says, Now when the festival was half over, that is, when as many days were left of the feast as had passed. Thus, since the feast lasted some seven days, this took place on the fourth day. As we said, when Chri...st hid himself, it was a sign of his humanity, and an example of virtue for us. But when he did come before them, and they could not suppress him, this showed his divinity. Further, our Lord went when the feast was half over, because at the beginning everyone would be occupied with matters relating to the feast: the good, with the worship of God, and others with trivialities and financial profit; but when it was half over, and such matters had been settled, the people would be better prepared to receive his teaching. Thus our Lord did not go to the first several days of the feast so that he would find them more attentive and better prepared for his teaching. Similarly, Christ's going to the feast at this time paralleled the arrangement of his teaching: for Christ came to teach us about the kingdom of God, not at the beginning of the world, nor at its ending, but during the intervening time. "You will make it known in the intervening years" (Hb 3:2).
The place where our Lord taught is mentioned when he says, into the temple. He taught there for two reasons. First, to show that he was teaching the truth, which they could not depreciate, and which was necessary for all: "I have said nothing secretly" (below 18:20). Secondly, because the temple, since it was a sacred place, was appropriate for the very holy teaching of Christ: "Come! Let us go up the mountain of the Lord, and to the house of the God of Jacob. And he will teach us his ways, and we will walk in his steps," as we read in Isaiah (2:3).
The Evangelist does not mention what Christ taught, for, as was said, the Evangelists do not report everything our Lord did and said, but those which excited the people or produced some controversy. And so here he mentions the excitement his teaching produced in the people: that is, that those who had said before, "He leads people astray," were now amazed at his teaching.
Source: Commentary on John