They mostly block requests from server,bots or scrappers based on TLS Fingerprinting . Which detects whether the request is coming from a real browser or not.
curl-impersonate: A special build of curl that can impersonate Chrome & Firefox fixes this issue by simulating the TLS fingerprint of various browsers