Rewrite the following sentence by using a complex sentence structure:

"The cat is scared."
Since the dog was barking loudly, the cat became scared.
Complete the following task based on the instruction and optional input provided.### Instruction:
Rewrite the following sentence by using a complex sentence structure:

"The cat is scared."

### Output:
Since the dog was barking loudly, the cat became scared.