When cooking pasta in a Pressure Cooker / Instant Pot it does matter. The pasta will be infused with the flavor of the liquid. I prefer to cook pasta with Chicken or vegetable broth as it gives the pasta such a great added flavor.