Why should food being transported further be subsidized more than locally sourced food?
And then both are dominated by the drive from the grocery store to your house. If you care about food carbon emissions, walk/bike to your grocery store. That'll have far more impact than food choice.
The switch from an ICE car to an EV (and assuming a standard US amount of driving) probably beats possible diet changes.
You can of course do all of these things.