Its primary purpose is not to prevent downloading but to enable adaptive bitrate streaming and content protection (DRM). However, its architecture does make direct downloading more complex than a right-click save.
yt-dlp --cookies cookies.txt "https://example.com/video-page" how to download video from theoplayer