I always thought coffee has other compounds that mitigate the effects of caffeine compared to other foods and beverages.
I don’t know either way ... in any case, if I wish to ingest caffeine, I prefer to do so via coffee or tea which contain in naturally.