A lot of the time people are looking at their phones, and look as if they aren't intending to cross, and in the midst of looking at a screen, suddenly out of nowhere, step into the street and start crossing, eyes still glued to the screen.
In several states, if you're above a certain age (to exempt children) and walk into the path of a moving vehicle outside of a crosswalk, fault will be assigned to you and the driver in equal amounts (unless the driver is speeding, in which case they accumulate more fault).
At least in Britain, roughly the first driving lesson begins with looking all around for other road users. Speed must be reduced if there's an increased risk of inattentive pedestrians, such as near parked cars around a school or houses.