Can someone help me explain this looping logic ?

Sorry, how do you mean?