It's often better for pedestrians when there's a button. Because the light usually changes pretty quickly after pressing the button. Otherwise you'd have to wait until the timer switches the lights.
It's usually used for pedestrian crossings where pedestrians are rather rare.