Many times it's because one of the things above happened, they got out, wanted to go straight, and no one would hire them for anything because they had a criminal record. They tried to live straight, get some job training, but were low on money, could barely feed themselves with foodstamps and ended up stealing and back in prison. Or maybe it as something stupid like being caught begging with an open container not in a little brown bag.
America has 1% of its population in the system (either incarcerate or on parole at some point in their lives). That's insane.
Yea they end up there for a reason, but it's not the reason you think.
The people who should be in jail (most congressmen and women, most senators, all the CEOs that ran banks during the 2008 financial collapse) aren't because they have power and money, which buys them a different level of justice than you or I.