Walking on water is reserved for Christ alone. Either Peter’s faith was weak on the turbulent sea or he did not realize his limitations as a leader.
The false prophet Hananiah believed he could walk on water and predict peace for the people. In truth, according to the prophet Jeremiah “the prophet who prophesies peace is recognized as truly sent by the LORD only when his prophetic prediction is fulfilled.”
After the Resurrection, Peter does walk on water and leads the Church. And Hananiah? He sinks and dies disgraced.