If Mozilla didn't obtain and spend all that funding, Firefox would have been obsolete years ago. Google spends bazillions on Chrome, you can't compete with that on a shoestring budget.
They downsized because they have less money coming in now. So? They might well be overspending on execs or whatever, but that doesn't make much difference in the face of the existential threat they're facing from Google.