There are many theories about this question; however, I believe that Zimmerman Note was the biggest factor of U.S joining WW1.
It showed some of the intentions of Germany, and what could happen if US didn't take quick actions.
P.S. If this answer helped you, please, make sure to say "Thanks" just below my answer. It will help me a lot.