If you've played games like Hearts of Iron IV, you will know that subs have 1 major weakness- max speed. They will be too slow to face off or rather- catch up with a surface fleet alone.
Subs are indeed killers of the ocean, but they are slow-moving killers.
Nuke sub has no such issue.