I am fully convinced that those buttons don’t do anything and are just placebo.
Some buttons trigger the “walk” sign but don’t actually change the traffic signals for cars.
Some buttons are placebo, perhaps with a secondary function of emitting a loud tone to let blind people know the walk signal has turned on.
Some buttons trigger the traffic lights to stop.
Some buttons turn the traffic light to a 4 way red light.
I have encountered all these types of buttons on the east coast of the US in various states.