https://www.complete-gardening.com/vegetables/squash/pumpkin-has-a-bitter-taste/
Pumpkin has a bitter taste: Reasons for the bitter taste of pumpkin