Food is produced primarily with fossil fuels.
> The American food supply is driven almost entirely by non-renewable energy sources and accounts for approximately 19% of the total use of fossil fuels in the United States.
https://sustainability.emory.edu/wp-content/uploads/2018/02/...
Buying local and eating less meat is social signalling. Wasting less food is making personal sacrifices for the environment.