Some people join the military to serve their country.
But everyone in the military is indoctrinated to believe that they are serving their country.
Some of them are shipped overseas. Some live in Virginia Beach. Some are physically endangered. Some sit behind a desk.
There are good and noble people who choose a life of service. Some of them are in the military. Some of them are food kitchen volunteers.
Not everyone in the military is noble, or serving their country. Any more than any other federal employee.
It's difficult to know the appropriate level of respect or honor to give to a random person displaying the paraphernalia of military service. "Thank you for your service" is free, and perhaps genuinely felt and received in some cases (but also vacuous at times).
I've worked with a lot of ex-military folks. And several members of my family are current or former members. I can't think of a single trait that is common to all of them.
Not physical fitness. Not leadership skills. Not honesty or honor or respectability. Not intelligence or grit or perseverance or fashion sense.
The median is probably higher than the average across the whole population. So there may be a correlation. Except fashion sense!
However this does not persuade me that there's a reason to differentially treat military vs random citizens in your example of a traffic stop. But I'm also not a cop!