It seems like reducing empathy might be the same thing - a more general dulling of emotions. On a personal note I've found Aleve works really well (better than Tylenol) when I'm feeling anxious, but maybe that's just placebo. I originally read about the Tylenol affect after feeling surprisingly less anxious when I took Aleve and searching around.
[1] https://blogs.scientificamerican.com/mind-guest-blog/tomorro...
Also, the common characteristic of NSAIDs is their anti-inflammatory nature (the AI in NSAID), which addresses injury-related pain by locally reducing swelling. This pathway for the class of drugs is unlikely to provide anxiety benefits.
In the past, there have been people close to me that used aromatic "remedies" like essential oils for headaches and other ailments, to the point that now whenever I smell those scents, I unconsciously start feeling as though I am (or someone near me is) sick or in pain. I suspect there may be similar effects (conscious or not) with drugs that have historical associations in the minds of participants in the study. Rather than an associated smell, perhaps an altered state of body/brain chemistry could make similar memorable impressions.
I would think it's at least conceivable that the body reacts differently to acetaminophen when it's used to treat pain, versus when it's administered even if the subject is not in pain. And especially since most people take acetaminophen for some pain-relieving purpose, rather than for no purpose at all, I would think it's important to try to emulate those real-world conditions when designing studies like this (although clearly it's difficult to control for something as subjective as pain).
Side note: I absolute hate when articles about scientific studies don't even name the study so you can look it up. In this case, the study appears to be titled "From painkiller to empathy killer: acetaminophen (paracetamol) reduces empathy for pain" and the full text is available here:
https://academic.oup.com/scan/article/11/9/1345/2224135/From...