Against a floaty thing torpedoes have many advantages though not a few disadvantages. Against a land target and with a nuclear warhead they offer very few advantages and many disadvantages.
Of the first, they avoid SAM, Radars and AAA. However delivery is slow, the subject is vulnerable for days not minutes, and simple counter measures may counter a torpedo.