Both happened after they kicked journalists out of the Pentagon and I have to think that it played at least some role in the secrecy.
The earlier strikes on Iran's nuclear facilities before the change were leaked, though not the details of the mission, just that they were happening.