I see this goes both ways. I live in the city, drive to work, but I'm also an avid cyclist who likes to ride in the city. Some people just generally suck and driving, running, walking, riding bikes...whatever. Common sense is almost a lost art these days too. I bet 8 times out of 10, people aren't coming close on just to piss you off. They either can't gauge how close they are getting or are distracted drivers. The ones who get close because they just don't care, well, those are indeed A-holes, but not the majority.
But like I saw, this goes the other direction as well. People riding bikes, cutting out of the bike lane into traffic without looking to avoid a puddle or overtake another biker. The assumption of right of way is so strong for bikers in most cities that they will often put their lives at risk with the assumption the vehicle will be the one to move/stop. This circles back to people being idiots in general, so hits happen often. Just saw one last week. Also saw a runner cut off a biker by entering the bike lane without looking, which then the biker entered the driving lane without looking. Get dash cams or action cams.