It might be because you haven’t drained your broccoli or potatoes well enough. Make sure you get all that excess water out before adding it to the dish or you might end up with this problem.