John knew the difference
So when they had dined, Jesus saith to Simon Peter, Simon, son of Jonas, lovest(agape) thou me more than these? He saith unto him, Yea, Lord; thou knowest that I love(phileo) thee. He saith unto him, Feed my lambs. He saith to him again the second time, Simon, son of Jonas, lovest(agape) thou me? He saith unto him, Yea, Lord; thou knowest that I love(phileo) thee. He saith unto him, Feed my sheep. He saith unto him the third time, Simon, son of Jonas, lovest(phileo) thou me? Peter was grieved because he said unto him the third time, Lovest(phileo) thou me? And he said unto him, Lord, thou knowest all things; thou knowest that I love(phileo) thee. Jesus saith unto him, Feed my sheep. John 21:15-17