I immediately thought of the Rotherhithe tunnel in London. While pedestrians and cyclists can use it, it's grim - see this video for example of someone walking it https://www.youtube.com/watch?v=hjAHzZa_pc8
Clearly for crossing any lengthy stretch of water, a bridge is much preferable to a tunnel.