I don't buy the "you can't blame anyone except the person that pulls the trigger" argument.
That type of whataboutisim is at the heart of every major engineering effort of silicon valley and surveillance capitalisim that is used abusively on the masses.
We can say no. We -must- say no.
Making alcohol should be legal. Specifically selling it to a kid is not legal, because then you are specifically helping them commit a crime.
Likewise I don't blame steel mills for producing steel that is later used in guns wielded by dictators on their own people.
I sure do blame the people that sell the guns to said dictators with full knowledge of their likely use case though.
We as engineers have an ethical responsibility if we make a nuke with full knowledge the buyer probably intends to drop it on a city.
I once built a company that produced a very effective social data aggregator, classifier, and sentiment analysis engine with an easy search interface. It quickly identified sentiment trends across a dozen networks and could of been amazing for brand managers or stock traders. My investors decided they wanted to repurpose it for political propaganda and market it to a specific party. I could of said "well this is really cool tech, and I am making good money... Not my problem what they do with it". I thought that for a bit. I even helped build an MVP for political candidate tracking.
It felt wrong, so I quit. I didn't help them replace me. The company ended and all my years of work and research with it. So be it.
I don't always get it right, but looking back, -not- continuing that project remains one of the proudest choices of my life.