The shooting occurred in the Achin district of Nangarhar province, where U.S. special forces have been fighting alongside Afghan troops against Islamic State and Taliban militants, said Attaullah Khogyani, a spokesman for the Nangarhar provincial governor.