Well, DoorDash focused on food delivery since day 1. It wasn't Uber's focus until recently. Even if they are doing a great job now, it will take time to close the gap.
Yes, food was and is a major focus for Uber, it's part of their pitch for growth: they just don't do taxi/rideshare, they do deliveries one of the reasons they're valuation dwarfs Lyft.