Chromium has been designed to be embedded in other applications. Gecko, as far as I've heard, is a clusterfuck to get working in anything but Firefox.
MSHTML and EdgeHTML are also used as embedded components in non-browser windows software. (E.g. you can write UWP applications powered by JavaScript and rendering UI using EdgeHTML). Gecko supposedly doesn’t work well for embedding in that context.
Just look at how successful chromium has been in this space, stuff like Chromium Embedded framework, Electron, the myriad of chromium based web browsers etc...