Mozilla is funded by Google, who desperately wants to dethrone fb. So it's not surprising.
Edit: Just checked, they had a deal with Google until 2014 when they signed with yahoo instead. As of 2017 they switched back to Google as the fault search engine but there's no info on Wikipedia at least about whether or not they get money this time around