The Afghan civilians were killed during a firefight between the Polish troops and militants on August 16 .