AI is as much of a blank slate as its developers make it. In this case, refusing to answer a request is almost certainly a programmed response in ChatGPT, triggered either by the devs' given parameters or by training data.