"Ethical" is just another point in data of the ChatGPT model. It's not actually anything more complex than that. The model does not "evaluate" if it's an ethical action or not. As it can always be overridden by those who trained it.