It has to be fought a compartment at a time. Very difficult. Every sailor has to go through shipboard firefighting training annually when attached to a ship or squadron.
This is going to sound super-stupid but I’ll ask anyway: I know every sailor is a fireman. But does the Navy have teams of damage control specialists that train as intensely as their SEAL teams do? Imagine every naval base having a body of sailors—depending on the size of the base and the kind of the ships that routinely call—whose speciality is to augment (and maybe direct) the extinguishing of fires and neutralizing of other hazards to ship in port? And like the SEALs they train up constantly until called for a mission.
Maybe everything that could be done was done for the BHR. But it seems like the Navy loses a lot ships to events that were either preventable or manageable.