In a large skillet, heat the olive oil over medium heat.
Add the chopped onion and cook until softened and translucent, about 5 minutes.
Stir in the minced garlic and red pepper flakes, cooking for an additional 1-2 minutes until fragrant.
Add the diced tomatoes, tomato paste, salt, and black pepper to the skillet. Stir everything together, then let the sauce simmer for 10-15 minutes over medium-low heat, allowing the flavors to meld.
Add the heavy cream and cheese and let it slowly reduce.
While the sauce is reducing, cook your pasta according to package instructions in a big bowl of salted water until al dente.