That's not the point, is it? Although they might depending on the circumstances (again, as we can see right now).
Both involve a certain amount of risk and uncertainty. Both require preparation and planning, and some degree of subordination of other national interests.
This is perhaps one of the lessons of the Ukraine conflict - Russia is still exporting gas to Germany and Germany is still importing it, despite diplomatic relations between the two countries being at a nadir. It's simply not in either country's interest not to carry on with the commercial relationship.