Why
Raw Elbow macaroni needs enough liquid and heat to soften. A can of Canned diced tomatoes usually doesn’t contain enough liquid, and the acidity can actually slow the softening of the pasta.
If you want to make it work
You can turn it into a simple one-pot tomato pasta: