I'm going to attempt to rationalize why cyclists don't obey traffic laws in cities. The short answer is that bicycle riding in cities sucks. It's loud, slippery, uneven, blocked, takes a lot of physical effort, is full of unpredictable giant metal things that can kill you, teeming with large moving meat pillars that will jump in front of you at any moment, you're completely exposed to the weather and can't safely loo…
I don't live in a city so I'm not familiar with bicyclist in that environment, but in the town I live in, which has a strong outdoor recreation community and a University, cyclists also do not obey traffic laws.
This town's claim of being "bicycle friendly" is questionable, but you can get most places safely enough. There are bike lanes or shared lanes on many streets, double-wide sidewalks (which can be used by bicyclists) here and there, and a bike accessible trail system that winds around and through the town if you're willing go a bit out of your way. With a strong cyclist presence in town most drivers are fairly comfortable sharing the road. I've been bicycling around town for several years, both for recreation and to save $400/year on a parking permit for work, and never been involved in an accident.
But I still see cyclist riding up and down sidewalks in the downtown area (which has signs every few hundred feet stating that cycling is not permitted on sidewalks) or cutting off cars at busy intersections (even if the intersection is being directed by a traffic cop). I have even, no kidding, seen a cyclist run a red light in the oncoming traffic lane at night with no lights, reflectors, or a helmet.