The factor that contributed the most to the United States joining the Allied Forces during World War I is:
Germany’s unrestricted submarine warfare.
This policy by Germany led to the sinking of civilian and neutral ships, including those with American passengers, which significantly increased anti-German sentiment in the U.S. and ultimately prompted America to enter the war on the side of the Allies.