During CCleaner installation, there’s an option to install Avast which if I remember correctly is opt-out by default. You must have clicked next and not unchecked it.