ChatGPT can only make things that it thinks is correct according to its opaque rules. It doesn't really understand the domain. It just bundles up words and phrases without understanding. In short, it knows it's 'correct', but it doesn't know if it's right or wrong.