A quick web search reveals this is likely a byproduct of an attempt to install a component of FUSE file system extension. In most (?) cases the installation is legit, but it can be abused by a bad actor. If you weren't actively trying to install a new software at the time this appeared then something was going on in the background that was possibly legit, possibly not.
To your question of how it got on your computer - it's difficult to say. A small lapse in judgement like clicking links in email can allow something like this to happen. Downloading software from shady websites is risky. Using tor clients to download files is risky. It can be difficult to be vigilant 100% of the time.
I'll +1 to the advice posted by @ P. Phillips – download and run Malwarebytes scanner. And definitely uninstall CleanMyMac.
I'll also add this bit of light reading for you.
click> Effective Defenses Against Malware (John Galt)- Apple Community
click> How to install adware (John Galt)- Apple Community
click> Avoid phishing emails, fake 'virus' alerts…and other scams - Apple Support