Taliban Insider Attack Caught on FLIR

This clip seems somewhat confusing and the events unfold very quickly. It appears to be an inside attack perpetrated by the Taliban. Soldiers appear to be attacked by a inside gunman hidden behind the mud fence along the road. If you have any info on this please comment.