It was already dying and with no chances of making up share, most online usage comes from mobile, nobody cares about installing Firefox there but us nerds.
So they need some kind of pivot.