I can't remember why cucs can go bitter but I thought it was just the greenhouse types that did that and think it's something to do with pollination?

Could someone please explain it to me. Trouble is I now can't dare give them away like I normally do (because I get dozens) because I won't know if it's an edible one or not.
Oldfella this is from one of the plants you gave me!