What political conditions did the elections of 1912 and 1992 share that made it possible for a third-party candidate to affect the results?

an incumbent president facing opposition within his own party

a nation ready for change

a close race

little difference between Democrat and Republican candidates