Fascinating prompt on experience and cognition. Intention Detection is the mechanism here. The response is received before the message is sent because the system, interface, or connection allowed for the assumption of a completed query or statement.