There was protection in place. There were harbor pilot(s) on board that can draw, by hand, the harbor with all the navigation buoys, hazards, underwater wrecks, prevailing current patterns, accurately. The ship lost power and a mayday went out. The DOT closed the bridge (else there would have been a lot more traffic). The ship, without power, dropped anchor to attempt to slow or stop. All sorts of protections were in place. In this instance the exact right combo to avoid a collision wasn't there, but it's not like the whole thing was thrown up without thought. Engineers can't predict the future any better than anyone else. What if an aircraft had hit the bridge instead? What if there was a catastrophic earthquake? A sharknado? A shartnado? Lots of things can go wrong, but not all can be predicted and designed for.
Shartnado be a ****** problem