Firefox should not be changing the default search engine without the user selection. There are some circumstances where third party software will change the default, but I suspect that may not be the case here.
If this happens again, please file an i...