Former CIA Director Michael Hayden explained in this 2010 interview why the CIA chose to declassify intel concerning the Syrian reactor which Israel attacked in 2007:
You strongly advocated publicly disclosing the role intelligence played in detecting the nuclear reactor in Syria. Why did you advocate this?
It was a very complex political problem. First of all, when we became aware of it, it became very important to keep it secret. Arguably secret, because it had to be dealt with in a way that didn’t create a war in the Middle East. And the more public it became, the more difficult it would be for the Syrians to act responsibly. So no question that it needed to be kept secret.
But after a time, after the facility had been destroyed, there were two lines working—because you had two bad actors here, the Syrians and the North Koreans. With the Syrians, you needed to keep it secret, otherwise they might do something stupid if they were publicly embarrassed. With the North Koreans on the other hand, we were moving in the direction of a new arrangement with regard to things “nuclear,” including proliferation. And so, the fact that we knew the North Koreans had done this very egregious thing, I felt would undercut the confidence in the treaty when, sooner or later, it became more visible, more known, more public. So we had this line with the Syrians where you’ve got to keep it secret, but that was fading over time. Conversely, with the North Koreans, the imperative to make it public was growing over time, as we were getting to a firm agreement. I think the lines crossed about the first of the year—remember it was discovered largely in April  and destroyed in September . By about December or January , I think that’s when it’s crossed. So we at the Agency became very strong advocates for making it public. But in an intelligence process way, we knew that we had only told a few members of Congress, and the legitimacy for keeping it closely held was eroding as we got further away from the destruction of the facility, and therefore from any likely Syrian reaction. We had an additional impulse to tell Congress.