The correct answer is:
D. German U-boats attacked civilian ships, leading the United States to enter the war to protect its interests.
This refers to the unrestricted submarine warfare conducted by Germany, which included the sinking of civilian and merchant ships, most notably the Lusitania in 1915, which contributed to the shift in public opinion and policy in the United States, ultimately leading to its entry into World War I in 1917.