In a large saucepan over medium heat, add tomatoes, bell pepper, garlic, vinegar, red pepper flakes, bay leaf, and sugar, and bring to a boil. Lower the heat to a simmer and let it cook, stirring occasionally, until most of the liquid has evaporated, about 10 minutes. Remove the bay leaf and let it cool to room temperature.