Two Pointers Speedrun - Two Pointers / Speedrun

https://algo.monster/problems/two-pointers-speedrun

On question 6 (three-sum), on line 11 how do we know to move both the left AND the right pointers? Don’t we need to move just the left to check for more combinations, and then move the right?