Sounds like transit scheduling in the SF Bay Area. I forgot how many times I've seen a Caltrain depart just as a matching BART train was arriving in the station, just because they're separate agencies who technically coordinate some schedules, but in practice don't have any system constraints to enforce synchronized transfers.