The submarine battle that erupted across the Baltic Sea was about business.

The Swedish government, upset with German ownership of Sweden’s biggest shipyard, last summer compelled ThyssenKrupp AG to sell its Kockums operation to Sweden’s Saab AB. The move, which ThyssenKrupp calls “unfair,” cost the German industrial group a billion-dollar submarine contract and hundreds of skilled engineers.

And...