General David Petraeus, commander of U.S. and NATO forces in Afghanistan, issued an apology for a military operation that killed nine Afghan children after mistaking them for insurgents.