How does the sentence end?

The owner put the dog in a doghouse instead of the bedroom, because the
bedroom is where the dog was distressed.