Tunnels and bridges are expensive. If there's a choice between a pedestrian bridge and a car bridge, the pedestrian bridge will be less expensive. And vastly more people drive than walk. It's pretty obvious how we end up with the infrasructure we have.