He saw the miracles that Jesus had performed for the benefit of others, but doubted his relationship with him during the storm. He also forgot that he was an intimate friend of Jesus, one of the three closest disciples. This is what happens when you take your eyes off of Jesus. You will forget about him and yourself. I know I have.
I have always been passionate about music and can reference songs from the most ordinary things and conversations. Then I went through a storm that lasted several years. I forgot about my love for music and the ability to reference songs. Until one day when my son was two years old.
My wife told my son “Stop”. I immediately started singing Michael Jackson's “Don't Stop 'Til You Get Enough”. I realized that it was the first time I had done something like that in years. I started remembering me again.
Peter saw the miracles Jesus did for others but felt that grace of Christ wasn't enough when he needed the blessing. Peter focused on the storm instead of himself and Jesus. Believers are called friends and children of Jesus several times in the Bible. We see the miracles and testimonies of others, but think that we ourselves will be excluded. Christ will always deliver us, even when we are the authors of our own storm. And if not, there will be no storms in Heaven.