A lot of their lack of focus predated Brendan Eich's 11 day CEO tenure. By 2014 Firefox had already lost a ton of mindshare and Mozilla was working on their unsuccessful Firefox Phone.
In retrospect it seems firefox phone was actually a good idea, it’s been reborn as KaiOS and doing great. Pretty embarrassing for Mozilla to fail and cancel the project and then have another company take it and succeed…
Eichs short lived reign was a symptom, not a cause. The decision to put him there was certainly a decision made by an executive board that is out of touch.