All Rocket ventures were designed to be sold. Most of them did poorly. There is a cost/benefit ratio at which it doesn't make sense to dump money on the business, but the business itself still has value, so selling is a good strategy to cut your losses and/or make some profit.
I think you missed the fact that Foodpanda and Delivery Hero were both Rocket companies. It was that Foodpanda was doing soo poorly they gave it to Delivery Hero which was for Europe. Overall, Delivery Hero/Foodpanda are pulling out of markets repeatedly. And not small markets either.
DeliveryHero isn't a Rocket company. They invested heavily in it at some point in time - and they seem to still hold a position in the company, but DeliveryHero started outside of Rocket. Foodpanda was always pretty much a "rocket venture".