It's likely because you need to add more basil or salt. You want your pesto to taste slightly too salty - that way when it's mixed with pasta the dish won't be bland.