California leads in the value of goods sold, because it produces a lot of relatively expensive agricultural products like almonds, avocados, tomatoes, etc. Additionally, it’s a larger state, so it naturally will inflate the totals. If you look at food staples, and at the amount produced by square mile, the Midwest is definitely the main food producer of the US.