iCloud lost some of my files as well and I never found out what caused it. I store my tax related documents in a folder per tax year. I only ever change this year's tax folder. The folders for previous tax years are frozen for obvious reasons. And yet when I ran find to look for empty folders some of those old tax folders were empty.
I had backups, so the files are not actually gone, but my trust in iCloud Drive is.