Noticed

So, this cop noticed the military sticker on the bumper of William’s car and that’s how he got to know about his military background. He wanted to thank the young man for his services who was confused to think whether this cop stops every military person to thank them? Why would anyone, especially a cop will do so?