A nationwide grounding of aircraft in the United States due to communication failures has led to tens of thousands of flight cancellations and delays.