The latest attacks highlight a growing operational risk to commercial operators whose vessels have called at Israeli ports.