The Evangelist, having shown how the taking of the great number of fish lead the disciples to recognize Christ, now mentions the order in those recognizing him. First, he mentions John; then Peter; and then actions of the other disciples.
John, being quick in understanding, recognized Christ at once. So he said to Peter, whom he loved more than the others, and also because Peter was above the others in rank, It is the Lord! John was convinced of this by the catch of the fish: "Thou dost rule the raging of the sea" (Ps 88:8); "Whatever the Lord pleases he does, in heaven and on earth in the se...as and all deeps" (Ps 134:6). He said, It is the Lord! because they usually called him this: "You call me teacher and Lord" (13:13).
Peter is seen as passionately devoted to Christ. His devotion is clear, first of all, by his quickness to act: When Simon Peter heard that it was the Lord, he put on his clothes, for he was stripped for work, and sprang into the sea. But the other disciples came in the boat. As soon as he heard it was the Lord, Peter went without delay.
Secondly, we see his devotion for Christ, for out of modesty he did not want to appear naked, but put on his clothes, for he was stripped for work, because it was hot and it made working easier. We can learn from this that those coming to Christ ought to put off the old man and put on the new, which has been created for God in faith: "He who conquers shall be clad thus in white garments, and I will not blot his name out of the book of life" (Rev 3:5).
Thirdly, his devotion is shown by his lack of fear: for because of his great love he was unwilling to stay in the boat, which was moving too slowly, and so he sprang into the sea, to reach Christ more quickly.
In the mystical interpretation, the sea signifies the troubles of this present world. Those who desire to come to Christ cast themselves into the sea, and do not refuse the tribulations of this world: "Through many tribulations we must enter the kingdom of God" (Acts 14:22); "My son, if you come forward to serve the Lord, prepare yourself for trials" (Sir 2:1). Now Peter did cast himself into the sea and he reached Christ unharmed because the servant of Christ is kept safe and unharmed in the midst of tribulations: "You have given a path in the sea, and a safe way through the waves" (Wis 14:3). As Chrysostom says, this incident very well brings out the difference between John and Peter: for John is seen to be greater in understanding, while Peter is more ardent in his affections.
Source: Commentary on John