Door Dash doesn't set the menu prices, the restaurants do. Door Dash sets the delivery fees and then leaves the tipping of drivers to the consumers.
If Door Dash set the delivery fee at $10 with no tip, and Grub Hub sets the delivery fee at $5 with tip to be decided by the consumer, nobody would use Door Dash.