Draw from repetitive moves
A draw by threefold repetition is caused by a repetition of position not moves. As long as the same position occurs three times it's a draw regardless of the sequence of moves made to create the position.
https://www.chess.com/terms/threefold-repetition-chess