Why do some foods taste better the next day?
For pastas at least, the noodles have a chance to absorb more flavor directly into the bland noodles. Same with potatoes in stews.

If the dish cools and is then reheated, more water is lost into the air. This effectively reduces the dish and intensifies flavors.