Coffee is a known carcinogen (due to formation of acrylamides in roasting). Ripe fruits emit small amounts ethylene that is carcinogenic.
"Acrylamide is considered a potential occupational carcinogen by U.S. government agencies and classified as a Group 2A carcinogen by the IARC."
https://en.wikipedia.org/wiki/Ethylene#Safety
"It is listed as an IARC class 3 carcinogen, since there is no current evidence that it causes cancer in humans."
Those are very different.