Earlier quoted context omitted.
This is the kind of stupidity you get with elected judges.
The problem isn't that judges are elected, but that it's nearly impossible for voters to make an informed decision. In the last election, I tried to find out about the local judges on my ballot and could find virtually nothing. The media has been neutered in to an infotainment machine, so there's very little investigative journalism left even on issues of national or international importance, much less on small issue…
This is definitely one of the problems. There was a study that showed judges were handing stricter sentences for the same crime during election years than non election years ("tough on crime"). Elections are a popularity contest in a way, even well informed voters do not always make rational decisions.
If one doesn't have elections to worry about, he/she can do their job to the best of their ability without thinking about pleasing anyone or pandering to any one group, just good old honest work. The moment they have to think about elections, things change. What kind of judge would you like to have - someone who is totally honest and fair without giving a crap about what others think, or someone who is trying to be popular?