I kinda recall an article I read, a couple of decades ago, about jungle primates using certain bitter leaves to swab (that is, medicate) the inside of their mouths.
Given that birds will lie back on boiling hot black roofs to rid themselves of parasites, it’s possible that some animals may have found that some bitter foods made them feel a little better. Or that it was interesting.