Kam is always interrogative.

Al-Kināyāt — Kam, its Tamyīz and Syntactic Positions