> III. Professional Obligations
> 1. Engineers shall be guided in all their relations by the highest standards of honesty and integrity.
> ...
> b. Engineers shall advise their clients or employers when they believe a project will not be successful.
There's nuance around how hard you should push back on bad requests and where ownership/accountability and decision-making responsibility ultimately lie but providing professional judgement/advise/opinions is definitely in bounds for engineers.
[1] https://www.nspe.org/resources/ethics/code-ethics