The problem is supporting ad networks.
Edit: /s because apparently it wasn’t obvious. Anonymous is obviously better.
Mozilla has to generate enough revenue to continue developing their products somehow. It would be nice if donations were enough to cover those development costs but that simply isn’t the case. Because of this the ad networks are a necessary “evil”.
The setting from the original post is for sites in general, it’s not specifically about Mozilla sites. I’m not sure how having this option relates to their revenue, unless Google put it in their search contract with them?
Edit: Wait, I see people mentioning Mozilla acquired an ad company?
Supporting ad networks is not a ‘necessary’ evil. There are many not-for-profit organisations that do not use ads for revenue raising.
What would you suggest then? They’ve been unable to sustain themselves via donations alone.