Spinach, especially homegrown, has a beautiful light bitterness to begin with, however, in pesto, strong tasting olive oil is usually the culprit. If your pesto is too bitter for your taste, add more Parmesan or toasted nuts.