How are you playing? Website or mobile app? If you have premoves turned on then it is very possible that you accidentally made the move.
That said, if the clock was still ticking it could be that you got disconnected and the client didn't recognize the fact.That aligns with the fact that the game showed as abandoned.
You might check out the following if your on a computer:
I just tried to play a 5/5 game. At about the 4th or 5th move, when it was my turn, chess.com made a move for me (a4? I'd never play that in the opening...). Worse than that, even though that move showed on the board and on the score sheet, my clock kept running, and I couldn't make any other move, and since I couldn't do anything chess.com decided that I had "abandoned" the game so I "lost." What caused this error to happen?