This is American policing, I've been pulled over or even detained for just walking several times. I think it's a combination of power tripping, nothing better to do with large police forces and many vehicles, and a fundamental distrust of any transport that isn't a car. And of course the legal and moral framework that allows for random abuses of rights and an overall acceptance of a papers-please force.