Tomato pastas like pomodoro and putanesca were my go-to lunches before I learned about this, and tomato soups remain super popular, so I disagree that they are simply a condiment.
Still, perhaps they are a bad general example.
Perhaps a better one would be rice (~2g CO2e/kcal). There the problem is the massive methane emissions produced from the cultivation approach.
Point being: There are huge differences between different foods, and they are non-obvious.