What chatGPT is doing is a simulation from the brain. It was shown in neuroscience that whenever you see two words that makes no sense in context, we can see spikes in the brain. ChatGPT is considering the probability two words go together.