In its early days, Firefox achieved significant marketshare because it was better and offered useful features that the incumbent browsers didn't.
Nowadays Firefox is just a poor Chrome knockoff with no distinguishing features. As a casual user who switches but is unaware of add-ons/etc, Firefox gives you nothing, so why would you switch?
Firefox can reinvent itself and regain marketshare by shipping actually useful features like built-in ad & distraction blocking, but chooses not to.
Firefox mobile allows you to have extensions, while Chrome mobile does not.
I want to make a standalone blog post or something about this but there are definitely features Firefox has and Chrome doesn't. As a great example, I use containers for my tabs constantly. I have the Facebook extension which silos off Meta properties from the rest of my browsing data severely limiting their insight with no changes to my browsing experience.