The US has a much more negative and adversarial view of govt in general, but in polls a large majority has a much more favorable view of cops versus other govt agencies. Certainly it's a terrible generalization to say americans view cops as enemies.
One import factor here is where specifically you live. Police in the US are local systems which totally differ based on local laws and culture. In a place like Los Angeles County, with its high crime problems, cops are a lot more jaded and defensive. Meanwhile in the small beach cities in LA, the cops are very helpful and mellow.