Air travel scheduling is complex and one issue on one flight early in the day can have a ripple effect that impacts dozens (or more) flights by days end.
Between weather, mechanical issues, and crew scheduling it's easy for something to go wrong somewhere.
Air travel is still by far the most effective means of transportation in the history of the world. And it's not even close.