It’s nothing to do with CSAM and all about surveilling who has which files and when, and who they send them to.
Even ADP in iCloud sends the hashes of the plaintext to Apple, non-e2ee. This allows them to see who has unique files, and when, and the networks of users to which they spread, and when.