They barely do make money. Bing is heavily subsidised both financially by Microsoft and by what remains of Microsoft's desktop monopoly. Yahoo is a lot more than a search company, and hardly in the best of health.
Is anyone making significant money out of search (apart from Google)? Does DDG?
As for why they would want to be in search. For Bing it seems highly misguided. DDG probably would like to be even 1% as big as Google, so they could sell adverts and make $billions.