Obviously somebody knows little to nothing about piers, docks, and wharfs. That is clear by reading your response to them.
They are built up higher in order to compensate for changes in tides, in addition to what they may get during storm surges in that location.
That is why piers, docks and wharfs like that of San Diego, Long Beach, Santa Monica and Seal Beach are often up to 30 feet over high tide, yet the piers and wharfs at say the Mare Island Naval Shipyard and nearby were only about 5 feet above high tide. The former are right on the coast so could get considerable storm surges, the latter is well inland of the coast along a river north of the San Francisco Bay so gets almost no storm surge (and hence wharfs that are only about 10 feet above high tide levels in San Francisco).
There is no single answer for how high structures like that are above sea level. They are all built to meet the needs of the local hydrology and potential storm conditions.
And yeah, I have actually spent a hell of a lot of time on the water (kinda goes with my hobby of sailing boats and having been a Marine). Most recently as I often commuted by ferry in the Bay Area for over a year. Sometimes walking down to the boat from the dock, sometimes walking up to the boat from it. And one of the reasons why San Francisco made such a great port location was because the narrow Golden Gate greatly reduced the effects of storm surge compared to any other ports up and down the California coast. It's a natural "flow restrictor" that prevented the bay from suffering significant storm surges.
I still remember 1983 when a powerful El Niño storm with record high storm surges destroyed piers all up and down the California Coast. The storm surge was so high that it literally was battering the structures from the underside and smashing into the end of the pier instead of simply going under them.
I was laughing when you were told to "go to the wharves and see". As that will vary a hell of a lot, depending simply on where you are. As I saw from the wharf when I was stationed at Seal Beach (right on the coast facing the Pacific), and from the wharf at Mare Island (well inland) and Stockton (over 50 miles inland).