Often they are weight dosed, even for cats, which also are kitten
vs. adult cat dosed. If the dosage was too much, that could have caused
irritation.
Lastly, if the medication was a "cheap" product like Hertz and similar...these products often have other ingredients that tend to be irritants. Also, they often aren't that effective (from what I've seen from clients who have tried them).