Regulations around selling food are far more brutal than "ride sharing". It varies by state in the US, but generally speaking unless you keep your income below certain dollar amounts and stick to things like jam and pickles, you need to operate out of a commercially licensed and inspected kitchen.
Far better to do as hoc, personal arrangements than try to scale it into a fully fledged market.
I just got back from a week at a hiking camp that generally changes locations each year. I was talking to the head cook and she was saying some locations are more stringent than others but generally there's at least a cursory inspection required.
Far better to do as hoc, personal arrangements than try to scale it into a fully fledged market.