Interesting article here on the Afghanistan airlift at the end of August. I guess that the C-17s flew into Kabul with enough fuel for their return flights.
Air Force C-17 pilots burnt out but proud after Afghanistan evacuation (taskandpurpose.com)