I believe they were running out of money and needed to do more work to bring revenues appropriately up. Yahoo allows them to not need to focus on revenues, as they already have a large and established an ad sales team.
My bet/hope is that with more resources from Yahoo, David will pick and influence more parts of Yahoo than just Tumblr.