It goes back long before the airline industry even existed to the rail industry. Even the term change of gauge comes from them from when a train could only go so far as the next section of track was physically a diffrent size. Everyone would get off one train and move to a diffrent one. At the start of the aviation industry they had the same issues where certain planes could only fly parts of routes then you would need to switch planes to continue on. It was then used to create direct flights from cities without international service, aka Buffalo to London which was really a stop in JFK and a transfer to a new plane that was marketed as non-stop to London for NYC pax.