The easy answer is that too much water was added for the recipe. A deeper dive will also reveal that some ingredients release more excess water than others. Compare the liquid content of tomatoes or eggplant to cauliflower or potatoes. Also, frozen vegetables will release more extra liquid than their fresh counterparts.