I believe part of the problem is Firefox has been operating as if it had a large money making product, and investing in long term, not revenue generating projects. While fantastic for the community, they can be expensive. Operating as if your Amazon, Google, Facebook, etc is expensive when you don't have the money printing machine.
I think it'll be a long term lose for Mozilla, but things don't seem great in the short term so maybe priorities needed to shift.