The trade surplus in goods with the rest of the world increased to $13 billion as the threat of tariffs proposed by U.S.