The lottery was simply conducted incorrectly. After the first number, 2, was drawn, it was not excluded from the second lottery. The probability of drawing the numbers 1 and 3 became 33%, while if the number 2 had been excluded, their probabilities would have been 50%.
By the way, a complete regeneration in the case of drawing two identical numbers until two different numbers are drawn is also correct.