Attention: Anecdote, incoming!
Since racial profiling is arguably a factor in police interactions with the public, let me just start with the fact that I'm a plain old white male. I was raised to show deference and respect to authority figures. I've had more than one teacher tell my parents, when I was in middle school and high school, that I was very polite.
All that said, I noticed a huge difference, once I got past about age 30, in how police treated me. When I was in my late teens and early to mid-twenties, cops — young cops, particularly — often seemed to want to try to see if they could rile me up and escalate. (Of course, I never took the bait.) I suspect there is some deep-seated primate behavior going on.