In formal terms, the consumer has an incentive to spend until the marginal benefit of additional spending, or additional health care is zero, so different from an efficient market, where consumers spend until the marginal benefit is equal to the marginal cost.
Now, transportation costs for food (apparel and consumer electronics, too) may rise, but the marginal gas increase gets spread over an entire truckload.