Let's say, you run a train between NY and CHI hauling passengers. But your train stops at Albany, it sells the cargo and picks up new one. Then go further to Buffalo, does the same. Then down to South Bend ditto. In the end the cargo that arrives to Chicago comes from South Bend, and not New York.