That’s an interesting thought. They flee here seeking safety and a better life, only to find a large portion of the country very hostile towards you and your fellow immigrants. Finding decent paying work is very difficult, but at least construction is typically in high demand in many larger metros. You hate the job and would rather be a teacher, IT professional, nurse, or whatever but can’t due to being an undocumented worker. I can easily see that causing a strong sense of feeling trapped and hopeless.
Average voter: “Ugh, all the power and responsibility is too much work. Can’t we just elect someone that takes care of all of this for us?” Congress/parliaments are born. “Ugh, keeping track of all these politicians and their policies and waiting for them to enact laws is too slow and tedious. Can’t we just elect some sort of super politician that promises to take care of all our problems quickly?”