Its not like all the ships hit by attacks in the Straight of Hormuz sank. A ship could potentially become critically damaged and become unable to operate the reactor and still be floating.
Either way, "loss of nuclear material" is the real concern isn't it, instead of just the nature of how that loss happened?
The question still stands. If a country knows they're potentially going to cause a nuclear disaster by hitting one of these ships on their shoreline, are they as likely to shoot at them?