Complex sentence: The Shah demanded to know why they were invading his country and why they had not declared war; both answered that it was because of "German residents" in Iran.
Split into simpler sentences: The Shah demanded to know why they were invading his country and why they had not declared war. Both answered that it was because of "German residents" in Iran.