Then we see the dissension of the leaders of the people: first, their disagreement with their officers; and secondly, the disagreement among themselves (v 50). He does three things about the first: first, he shows the leaders rebuking their officers; secondly, the testimony the officers gave about Christ; and thirdly, we see the leaders reprimanding their own officers.
As to the first, let us note the evil of the leaders, that is, the chief priests and Pharisees, when they say to their officers, Why have you not brought him? For their evil was so great that their own officers could not please... them unless they injured Christ: "They cannot sleep unless they have done something evil" (Prv 4:16).
There is a problem here about the literal meaning of the text. For since it was said before that the officers were sent to apprehend Jesus when the festival was half over (v 32), that is, on the fourth day, and here we read that they returned on the seventh day, "On the last and greatest day of the festival" (v 37), it seems that the Evangelist overlooked the days in between. There are two answers to this: either the Evangelist anticipated the disagreement among the people, or the officers had returned before, but it is just mentioned now to show the reason why there was dissension among the leaders.
Source: Commentary on John