I'm not quite sure why this is downvoted, although I understand the nuance, it seems an interesting and related point.
Out of interest, are there open source licenses that prevent use in military projects? ISTR reading something recently about it being legally questionable to discriminate between who can accept a license, but that was in the context of allowing open source for non-commercial purposes.