If it does have considerable training data including prompt and response when people are interacting with itself then I suppose it isn't that surprising.
That does sound like self awareness, in the non magical sense. It is aware of its own behaviour because it has been trained on it.