'They' implicitly means 'the airline people with whom I booked the flight'.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
Oh! I completely understand!
The only flight that was available ("the only one they had") required spending a long time in the Denver airport between flights.