Because the NYT wants their content indexed by search engines (like Google) and shared on social media, they must make the content available to bots and casual visitors. This creates technical "doors" that can be utilized to read content without a subscription.
There are several types of New York Times unblockers available, including: nyt unblocker
How to Unblock The New York Times: A Guide to Accessing Unrestricted Journalism Because the NYT wants their content indexed by
This is the most famous and effective open-source project for this purpose. nyt unblocker