extreme cold, heat, drought or too much irrigation, or even a lack of plant nutrients, excessive pest infestation or disease can all create these elevated levels of cucurbitacin in the squash resulting in a bitter flavor.