Pumpkins are members of the Cucurbitaceae family, and they can sometimes produce what is called cucurbitacins. These chemicals will cause a bitter taste, and can even lead to unsafe food. Avoid eating bitter pumpkin or pumpkin seeds.