They get the "structure" they never had in prison, they have to function according to penal code, and prison code.
They will learn structure, be it good, or bad. I learned structure in the military, I signed up for it, just like these two teenagers signed up for prison.
We get what choices we make. They are right where they belong.
That's a simplified way to look at human nature. Humans are complicated, it's why the FBI are (or definitely were) the best police agency in the world solving the most difficult cases, they didn't share a prejudice, they analyzed psychologically and socially to direct them to the potential perp.
I will give you a prime example. Shaq played for Orlando and was a young man, 18 or 19, you could see a punk in every interview he did. He was on the Howard Stern show and sounded like a punk with his "crew".
Now this is a multi-millionaire if not then soon to be, He had all the opportunity in the world.
He plays in L.A, still has a chip on his shoulder but eventually he become humane and a better person in his interviews. More jovial, more experienced in life as he rubs shoulders with creative people, big business and sponsors.
If Shaq is six inches shorter he might be on welfare today or in the joint. He plays ball, gets a big contract, gets to be around people who get him to appreciate his life. He is actually more disciplined than the average NBAer as his step father was in the military, but I assure you, there was no guarantee he wouldn't lash out in anger at some point.
Ditto for Mike Tyson. The guy is now a representative of products, working with CEOs, is actually a fairly well read guy. What does he become if Cus D'Amato doesn't find him as a chubby, violent 12 year old?
The two above played sports for a living and made millions. If they don't get that opportunity you can bet their lives are different. Now look at these two, probably raised in a difficult situation with poor parenting provided.
If they engaged in crime when young and sent to military school their chances were probably far better. If they were sent to prison as kids, what do you think they are to end up doing as adults? They will just become better and/or more violent criminals.
As a society we can't save everyone, but it takes a village to raise a child. Today, no one gives a shyte and that's the problem. We are sending the young out to be exploited by the "good guys" and the bad.
Yes, they have to pay the price now. What people should care about is their failure and the problem is no one cares. Everyone will yell "these criminals should hang for that they did"! You can hang them, problem solved, though 40 years in prison does the same. Ultimately though there will be the next one and the next one and the next one and the next one....