It's not written how deep the rocks are, or how much watter were above them in Jesus' time, but just imagine not much and that he knew where they were -- then the scenes where he gets out of the boat to walk on the watter get a very obvious explanation.
Yes, surely the fishermen who were sailing it would be ignorant of shallow rocks right next to the boat. It's not like they would have to avoid hitting them.