Zucchinis contain cucurbitacins which are compounds in certain plants that have a bitter taste. It’s the natural defense mechanism of a plant against plant-eating animals. This bitterness can be reduced by adding salt to grated zucchini before combining it with batter and dough.