Taliban isn't a national military though, so they don't need to abide by international law. That's what makes them terrorists.