Cook the Pasta: Bring a large pot of salted water to a boil. Add the ditalini pasta and cook for 8-10 minutes, stirring occasionally, until al dente. Drain and set aside, reserving 1 cup of pasta water.
Prepare the Sauce: In a large skillet, heat olive oil over medium heat. Add minced garlic and cook until fragrant (about 1 minute). Add the tomatoes, oregano, red pepper flakes, and a pinch of salt and pepper. Let the sauce simmer for 5-7 minutes.
Combine Pasta and Sauce: Add the cooked ditalini pasta to the sauce, mixing well. Add some reserved pasta water if the sauce is too thick. Simmer for an additional 2-3 minutes to let the flavors combine.