An armed drone that struck American barracks in Iraq highlights a growing threat to the U.S. military in the region.