Growing threat of attacks by Afghan allies