Even though ChatGPT is not a conscious being, it is being trained to act and react as best as possible to be similar to a human being. So, being polite trains it to be polite back. It will reflect our image and likeness.