It is probably because blockland thinks that one of the modifier keys are being held when you alt tab back in, even though not being held. Try pressing tab and alt to see if you can chat again.
If you don't have windowless mode enabled, try enabling it and disabling fullscreen. It removes many of the bugs that happen when tabbing out of blockland, and makes switching windows generally faster.