Top U.S. commander in Afghanistan warns of attacks on U.S. troops