bug in the game
You're describing a disconnect from the live server.
There are some things you can do to minimize issues.
https://support.chess.com/en/articles/8652402-how-can-i-optimize-my-online-chess-performance
https://support.chess.com/en/articles/8584209-how-do-i-fix-my-disconnect-lag-issues