Google has been anti yt-dlp before it was forked. They also have rules that carve out tools like this from their extension store and at Android, except enforcement is lacking sometimes.
Google is terrified of users having access users control to their video content.
yt-dlp breaks YouTube’s DRM. They could easily get the repo removed under the DMCA. They don’t.