It isn't reasoning about anything. A human did the reasoning at some point, and the LLM's dataset includes that original information. The LLM is simply matching your prompt to that training data. It's not doing anything else. It's not thinking about the question you asked it. It's a glorified keyword search.
It's obvious you have no idea how LLMs work at a fundamental level, yet you keep talking about them like you're an expert.