Were you DWB (driving while black)? If not I can only say you ran across a stressed out lawman acting unprofessionally.
Are there any more details you may be omitting? confused