Usually the driver for failing to yield, but pedestrians can share fault if jaywalking.