All large ships in the US Navy have automated weapons for killing swarms of small surface craft. They added that capability a few decades ago because they were regularly attacked by swarms of suicide speed boats packed with explosives. No one tries that anymore.
Surface drones are effectively indistinguishable from that threat.
Easier than avoiding torpedos, which are also long-range drones.
All large ships in the US Navy have automated weapons for killing swarms of small surface craft. They added that capability a few decades ago because they were regularly attacked by swarms of suicide speed boats packed with explosives. No one tries that anymore.
Surface drones are effectively indistinguishable from that threat.
Easier than avoiding torpedos, which are also long-range drones.