From the answers over on the question of "What makes a spell being cast considered to be a {class} spell?", the implication is that something is a 'class spell' if it is on that class' spell list.
There is not, so far as I'm aware, any other general criteria for what makes something considered a warlock/wizard/etc. spell.
I am also under the impression that spending a warlock spell slot does not automatically make that spell a warlock spell, given the multiclassing rules allowing sorcerer/etc. spells to be cast via warlock spell slots.
While the rules state "To cast one of your warlock spells of 1st level or higher, you must expend a spell slot," and "The Warlock table shows how many spell slots you have to cast your warlock spells [...]", the phrasing of Dreadful Word could also be parsed as an instance of "specific beats general" enabling a non-warlock spell to be cast via warlock spell slots regardless of those rules (it is already enabling you to cast a spell you don't know, after all).
The multiclassing rules also give me the impression that spending a spell slot from a specific class- say, warlock- doesn't mean that the resulting spell is a warlock spell, anyways; you can cast sorcerer spells with pact magic slots, for example, and they still count as sorcerer spells.
So, the question: with a literal reading of the rules, since confusion is not on the warlock spell list, is confusion a warlock spell when cast via Dreadful Word for the purposes of Rod of the Pact Keeper?
I care about specifically a literal reading because it seems extremely clear that it should count as a warlock spell- there's no implication of what DC to use if you're not meant to use your warlock spell save DC ("Charisma is your spellcasting ability for your warlock spells"), for example. Crawford also confirms that to be the rules as intended- thanks, @Bloodcinder. I would never intend to argue otherwise in actual play. I'm just curious what the literal interpretation of the rules in this case results in, even if there truly is no rule indicating that it would be considered a warlock spell and it not being one seems nonsensical.