AI is changing the military by helping to locate enemy targets, guide weapons with precision, and accelerate its decision-making. Yet while harnessing the power and speed of AI, the military also grapples with the ethical questions that surround it.