I'd recommend listening to episode 47 of the Darknet diaries and see if you still hold those beliefs that these people are indeed morally bankrupt https://darknetdiaries.com/episode/47/
The thing with this line of work is that one mans ethics becomes another mans sin. The tl;dr of that episode is that some of these people were led on to believe they were actually targeting criminals and terrorists. It later became clear that was not the case.
The road to hell is paved with good intentions and all that. It would surprise you that even the most noble of pursuits in engineering have very cruel applications in war.