Caramelizing the shallots enhances their sweetness and depth of flavor, rounding out the flavors of this pasta sauce recipe.