Why is the Latin relative pronoun so alike the interrogative "quis, quæ, quid"?

Thanks!