In one example, there (most likely) aren't any innocent civilians hanging around. In the other there will certainly be innocent civilians on the other end.
Are there many civilians in the trenches of eastern Ukraine? Again, the discourse around AI weapons seems to consistently neglect the fact that these are already being deployed.