Add two more tablespoons of oil to the pan and add the onion and bell pepper. Cook, stirring frequently, for about 5 minutes. Add the garlic and continue cooking for about 3 minutes more. Do not brown. Add the tomatoes and their juices, tomato paste, thyme, sugar, crushed red pepper flakes (if using) and 3/4 teaspoon salt. Cook, stirring occasionally, until the tomatoes are broken down into a sauce, 8 to 10 minutes.