McChrystal , the commander of U.S. and NATO forces in Afghanistan , " believed the operation was going well because of the time ... that had been taken to shape it with local authorities , " Gibbs said .