The publication did not force the author to publish their works on their site.
The author made a choice to publish there. They want the paywall, because that's how they get paid for this writing.