Restaurants set the menu prices higher on delivery platforms to recoup the money lost in fees. They also pay fees to DoorDash, Uber, etc...