Firefox on Ubuntu’s repository is now managed fully by Mozilla, while in the past it wasn’t. Mozilla has had a deal with Google for years to be the default search engine that has massively helped them stay alive as a company.
You are simply now getting an official build instead of a modified one, and official builds don’t let you remove Google from the main interface due to this contract.
You forgot your meds