Start with the second interaction, where ChatGPT4 provides a reasonable reply. We might think (with @spiantado) that ChatGPT “discovered a grammar”, in particular the grammatical rule that demands that the reflexive pronoun ‘herself’ be linked to ’the nurse’.
OpenAI CEO Sam Altman testifies before U.S. Senate: live cnb.cx/3WaNvDi
Of course, understanding is key. For ex. you can't hope to address bias without talking about the underlying sources of statistical regularities. (See the following, inspired by @HadasKotek )