The nation’s trade deficit in goods widened 3.4% in October to $89.8 billion. Imports stayed the same, but exports fell.