AI logistics agent vs. traditional TMS

Why can an ERP order say shipped before the carrier has picked it up?