I work in the same building with them. Every officer takes an AR and body armor to the squad car when heading out to man their speed trap and bring it back at the end of the shift to store in their air-conditioned locker (not just the locker room - the actual interior of each locker itself has its own thermostat and air supply).
All that being said, there is a need for specialized units. But the big change the US has seen over the past 25 years or so has been giving SWAT-style weaponry and resources to everyone. The traffic cops pullings people over for speeding in a school zone don't all need riot gear and an AR in the trunk. Detectives performing investigations don't need access to tear gas and flashbangs. But for major cities with thousands of occifers, having a few dozen specialists makes sense.
Small towns used to just call the state or nearby major city for assistance if they needed heavier equipment or tactical units. Now they all have the heavy equipment, and when they have it they'll find an excuse to use it.
A nearby town had a mental health crisis recently with a kid threatening to kill himself. The police had just gotten a new-to-them MRAP, and instead of talking to the kid or just using the key the parents had given them, they drove a tank through the front of the house, deployed flashbangs, and tackled the kid.
So the kid now has more mental health issues AND the family lost their house.