We don’t really understand how NSAIDs reduce pain, as a concrete example. In contrast we have a pretty good understanding of the pharmacology of caffeine.
It’s not like magnets, some things really are gaps.