In many cases it’s the driver’s fault due to inattention or recklessness, other-times the ped is taking liberties with their safety (on phone, not looking, running to beat traffic). So, while drivers do have the responsibility to look out for pedestrians there are cases where there is nothing they can do about a particular circumstance.