Then when the Evangelist says, he came to Simon Peter, he shows the example was beneficial by means of an encounter between the Teacher and the disciple. In this encounter our Lord shows that this example is both a mystery and necessary (v 8); and secondly, that it is appropriate (v 9). As to the first, the Evangelist does two things. First, he mentions the circumstances for Christ's speaking; secondly, what Christ said (v 7).
The occasion for Christ's words was the refusal of Peter to allow this example of humility; he says, he came to Simon Peter, and Peter said to him, Lord, do you wash my... feet? There are three explanations for this.
According to Origen, our Lord began to wash their feet by beginning with the last. The reason for this was that just as a doctor who must care for a number of sick begins with those who need it more, so too Christ, when he washed the grimy feet of his disciples, began with the dirtiest, and then came to Peter, who needed it less than the others: "beginning with the last, up to the first" (Mt 20:8). The Evangelist seems to indicate this: for Christ began to wash the disciples' feet, and then he follows this with, he came to Simon Peter. It seems from this that Jesus washed the feet of the others first.
If you ask why Peter was the first to object, Origen replies that this was due to the intense love Peter had for Christ. The other disciples had a certain respectful awe and fear of Christ, and so complied without question to everything he did. But Peter, more aflame with love - "Simon, son of John, do you love me more than these?...Yes Lord; you know that I love you" (21:15) - and taking confidence from this love, refuses to comply and asks to know why: "A true friend will act as your equal and assume authority in your household" (Sir 6:11). This is why in Scripture Peter often asks for explanations and does not hesitate to say what he thinks is best.
The second explanation is by Chrysostom. He says that Christ was ready to start with the first of the apostles, but Judas, the betrayer, in his foolishness and pride, pushed ahead of Peter. None of the others would have dared to go ahead of Peter. Thus the Evangelist is speaking of Judas when he says, he began to wash the disciples' feet, that is, the feet of Judas, who, as proud and foolish, would make no objection or refuse to allow what our Lord did. But when he came to Peter, who revered and loved his Teacher, Peter refused with awe and asked for an explanation. And any of the others would have done the same.
The third explanation is by Augustine. He says the words of the Evangelist do not show that our Lord first washed the feet of the other disciples and then came to Peter. Rather, according to his custom, the Evangelist first mentions the incident and after that gives the order of events within in, just as he did in Chapter 6. So he first mentions the entire incident, that is, Christ washed the feet of his disciples; and then, if we should ask how this was done, he says that he came first to Simon Peter. And so he was the first to refuse, saying, Lord, do you wash my feet?
These words have great depth. He says, Lord, do you, who are the Son of the living God, wash my feet, who am Simon, the son of Jonah? Lord, do you, the Lamb without spot, the mirror without stain, and the brightness of eternal light, do you wash my feet, who am a sinner? "Depart from me, for I am a sinful man, O Lord" (Lk 5:8). Lord, do you, who are the Creator, wash my feet, I who am a creature and of little faith? Peter said these things struck by awe at the realization of the dignity of Christ, as in "I have considered your works, and have feared" (Hab 1:3).
Source: Commentary on John