True. There's usually a correlation between annoying HR processes and annoying corporate cultures. But not always. Sometimes there's a really cool company that just happens to have a bad entry gate here and there. Usually this is the case at companies that have grown hot more quickly than they can scale up their initial HR systems.
To that point, oftentimes bad HR is really just a scale issue. A company starts getting more resumes than its people can deal with, and so it hires HR drones just to help with the workload. And this continues. Eventually, the managers are so far removed from the day-to-day HR filter that they don't really notice how bad it's become.