The US airline regulator says a contractor is responsible for delaying and cancelling thousands of flights.