It is my belief that for-profit schools (in these cases Apollo Group and Kaplan Test Prep) have looked at code schools as potential cash cows devoid of the complications of both federal financial aid and the gainful employment entanglements associated with the "type" of students that typical for-profits schools attract. While for-profits seemed like a perfect fit for acquiring code schools (and I'm sure led to handsome paydays for the founders), these businesses brought bloat, inefficiencies, and baggage that could not operate in the fast-paced and nimble environments they bought into.
I can't speak for these two code schools but I heard from a reliable first-hand source that when Dev Mountain was bought out by Capella Education, the founders "checked out." What checked in was a bureaucracy that was more concerned about asses-in-seats than providing a bleeding-edge, entrepreneurial-driven education. If you look at the reviews of Dev Mountain by recent students there is no doubt whatsoever that this is what happened. Is this possibly what befell Iron Yard and Dev School? I can't say. What I can say from decades is that when you sell out to a for-profit school, you are very well dancing with the devil.