And the behaviour is guided by what they are legally allowed to do, or what they think they can get away with. It's pretty clear that the US is far more lenient on police and frequently lets them get away with murder, often quite literally. They're above the law.
As I said, UK police aren't perfect and tbh I'm sure they'd love to carry guns around and push people around a bit with a bit more impunity. But they aren't untouchable in their duties.