The alternative is having traffic laws for pedestrians and enforcing them and fining violators so they don't just walk wherever they please with zero consequences.
Why is it they get to disrupt traffic with total impunity and shift all the liability to the vehicles? That makes no sense whatsoever.