Walmart and Target’s third-quarter results this week highlighted key differences between the retailers.