Here's why:
* Declarative sentences make a statement. They tell you something. Example: "The dog is outside."
* Interrogative sentences ask a question. They want an answer. Example: "Who let the dog out?"
The sentence "Who let the dog out?" is asking a question, making it interrogative.