I find the ads narrative pretty hard to believe. Back in the days, Firefox could compete with IE, which was the default in Windows, by being technically superior. It seems very likely that Firefox's users, who had gone out of their way to install Firefox, would also be very willing to go out of their way to install a new better browser even in the absence of ads.
For the ads, see some snapshots of what that campaign looked like at the time https://searchengineland.com/googles-jaw-dropping-sponsored-... It was a massive push of basically spammy links all over the internet.
To be clear, I'm sure some people switched for the features. But given the scale of the sponsored push to every internet user, we can't really say features were the reason for most people. There's no way to run the experiment the other way.
> UI was comparable.
They were not at all comparable. Here is an image of what Firefox looked like when Chrome was released [1]. Here is an image of what Chrome looked like at release [2]. Barring some design tweaks Chrome looks roughly like any modern browser whereas Firefox looks ancient by modern standards. It has the app menu, no integration with window decoration, a separate search box, tabs below the address bar, etc. Lots of things that Firefox would copy over the coming years. There's a reason Chrome was named after its Chrome–the UI was a huge selling point.
1: https://user-images.githubusercontent.com/25581533/141687681... 2: https://blogoscoped.com/files/google-chrome-browsing/search-...
while that isn't really true anymore in any relevant way it's still stuck that way in many peoples heads
And sure part of the perf issues where quite often not well behaving FF extensions, toolbars etc. also often installed by unrelated programs preexisting installed on the same computer and that FF needed some major refactoring/rewriting just because it was quite a bit older (which are done by now but had inevitable but sad effects like XUL extensions being gone).