I get the feeling sometimes that in any group of people you'll find people who aren't very bright. Sometimes the short bus goes stops at the police academy.
Coulda been the officer had a crossed wire due to bad communication at the station, or it coulda been that his spidey sense caused him to be suspicious and he got all hard on you.