Certain file types restricted from uploading

I have nextcloud setup and can upload .torrent and .nzb file extensions from desktop but when I try to upload them from my iCloud drive they are greyed out. I can see them but cannot upload them. For other file types like .jpg and .zip I both see and can upload then. How do I get same thing for nzb and torrent files?

You are on Mac OS or windows?