Was it time?
How the hell is this a draw


Yep. Chess is a game played on the board. The time element is artificial, and is mainly there to stop one player from taking forever (if literally was allowed to do so, could never be beaten) and to produce an even playing field. So, while you cannot claim any sort of victory if you have used up all your time, you cannot "lose" if the position on the board is absolutely impossible to lose.
Think of playing through a game score-sheet at draughts (checkers). All of Blacks pieces come off the board, and then the sheet says "Black wins".
it was not repetition.