It's fine to criticise the ethics of the work. Beneficial, in fact. The problem arises when you can't separate the ethics of the work from the ethics of the person doing the work.
When "this is a bad idea, maybe you should stop" becomes "you are a bad person".
When "this is a bad idea, maybe you should stop" becomes "you are a bad person".