Cook the pasta according to package instructions until al dente. Drain and set aside.
In a large mixing bowl, combine the halved cherry tomatoes, diced red onion, chopped garlic, olive oil, dried oregano, red pepper flakes, and salt and pepper. Mix well until the tomatoes are evenly coated.
Add the cooked pasta to the tomato mixture and gently stir until everything is well combined.
Spread half of the pasta mixture evenly in a baking dish. Sprinkle half of the feta cheese on top.
Layer the remaining pasta mixture on top, followed by the remaining feta cheese. Finally, evenly sprinkle the grated mozzarella over the entire dish.
Bake in the preheated oven for 25-30 minutes, until the cheese is golden brown and bubbly.
After removing from the oven, sprinkle the torn fresh basil on top to add a fresh touch.
Notes
Serve hot from the oven in individual bowls, garnished with extra fresh basil and a drizzle of olive oil for a special touch.