Doubt in the Question and explanation given here

In the 3rd round it says it flips the doors and then it happens until 100 rounds. So the same step is happening after 3rd step? I also did not understand how in the odd round all th doors will be open?