Now, once upon a time, journals served a secondary purpose, which was to distribute scientific results on a global scale. Back then, there was no Internet, and printing enough copies of a journal to satisfy the world's needs required industrial equipment. Fortunately those days are done and over with, but unfortunately we are still dealing with the relics of that bygone age in the form of academic publishing companies. Worse, in fact, since today's publishers are far greedier and for more profiteering than many of the publishers of the past.
Really, were it not for copyright, we could cut publishers out of the equation without any ill effects and have a net gain for society by removing all paywalls from scientific articles.