Pretty sure it alerts the system that there are pedestrians waiting to cross, otherwise why stop traffic if no-one is there?
I didn't see this specific question addressed in the OP so it's quite possible it was simply glossed over to provide a simplified answer or the reporter worked around it to make it easier to express the sequence.