Because government agencies are seen as deep pockets by those who want to sue them. This is precisely why the standards for public employment are so high (as high as they can go relative to the hiring agencies’ resources). One of their top priorities is hiring people who are not a liability to the public agency.
Public agencies do NOT want the “cowboys” who are looking for power, adventure and excitement. They very intentionally try to screen them out. Even though they put an incredible amount of effort in this, some of the crazies will still slip through, unfortunately. I hate them every bit as much as you do, if not more.
The people on the hiring committees/H.R. are usually some of the best in the business, especially those who work for large agencies who can more easily afford the best.