If only software engineers were liable like real engineers are
Why would you personally punish the chumps that execute the orders instead of leadership that gave the orders?
"Real" engineers aren't responsible for their product being used in nefarious ways as long as the product was built according to the rules.
"But my boss told me to increase engagement at all costs, including substantially increased rates of teen suicides, so shrug guess I have to since my visa will be revoked otherwise and I need this cash to send home to my family."
Even when you cannot get highly employable US engineers to agree to do unethical work, you can always import some indentured servants who are too vulnerable to feel like they can say no.
I know someone that took a job at meta short term to get cash for a family member with cancer.
Go after the people giving the orders, not the workers trying to survive a deeply fucked up system.