Wow, wtf. I agree that the kid has an attitude, but the cop certainly has one too. He just seems to want to show off how much power he has. And he obviously doesn't understand that calling someone "dude" is not just some "ranch" thing...
Anyway, I think that cop should have acted professional, not just shouted at the poor kid like some abusive father.