Former Secretary of Defense Robert Gates has strongly criticized President Barack Obama's handling of the war in Afghanistan in his…