Perhaps from Sanskrit कद् (kad, “interrogative particle”).
Lua error in Module:pa-headword at line 47: Parameter 1 is not used by this template.