Guards react to the various player equipment, including most armor, some weapons, and Daedric artifacts. Not all items in the game have dialogs.
Source: https://en.uesp.net/wiki/Skyrim:Guard...
I have some bugs with my nightingale armor and namira's ring so the guards ignore it :(
All the Guards' Reactions to the Character's Weapon and Rare Artifacts in Skyrim
Guards Reactions on Your Character Unique Artifacts in Skyrim
Skyrim Daedric Artifacts and Weapon All the Guards' Reactions
Skyrim Guards Comment on Character's Weapon and Artifacts
00:00 Iron Sword
00:16 Steel Sword
00:21 Elven Sword
00:27 Ebony Sword
00:34 Greatswords
00:40 Aegisbane
1:04 Mace of Molag Bal
1:10 The Rueful Axe
1:16 Mehrunes Razor
1:21 Skull of Corruption
1:31 Spellbreaker
1:51 Volendrung
1:56 Azura's Star