Most vegetables release water while cooking so it is recommended to cook them before adding to an omelette or frittata. This prevents it from becoming watery.