Security in Afghanistan is worsening as the role of the United States comes under fresh scrutiny. President Barack Obama has apologized for a tragic airstrike on a hospital during the battle for the northern city of Kunduz.