It's an unfortunate choice because my understanding is that it's possible to match encrypted files on the cloud with CSAM, assuming that Apple has the public key, and this has done before in a court case as evidence leading to a conviction. Maybe it's computationally prohibitive?