Donations to Mozilla don't (probably can't, legally) go to Firefox development. Mozilla Foundation is a charity, Mozilla Corporation is a for-profit enterprise. Money can flow from the Corp to the Foundation but not in reverse.
So if you give money to the Foundation, the Corporation has to give less to the Foundation to keep it funded. You could as well have given money directly to the Corporation.