Correct option is B
• Explanation: The sentence shows a reason why he did not write his homework. “Because” is used to show cause.
• Correct answer word – because
Meaning: gives a reason
Example: He stayed home because he was sick.
Meanings of other options:
• whereas – shows contrast
• due to – used before nouns, not clauses
• while – shows time or contrast