In the final position,you had no pieces other than a king. This is called having insufficient mating material. The moment you exchanged off the last pair of rooks, you were playing for two results (a loss or a draw). You had no shot at a win due to it being impossible to mate the opposing king.
end game bugg/error

You were the one with insufficient material.
Your opponent timed out.
That's why it's called timeout vs. insufficient material.
Check out this #chess game: Im_beatable vs Ferryluthfy - https://www.chess.com/live/game/139740640578.