Comment by Cyberdog
The capacity to keep secrets, even at the state level, takes a level of mental maturity that few are capable of. So many are thrilled by the idea of knowing something few other people know to a degree that they paradoxically want to make it something everybody knows. Journalists take advantage of this and collect and share leaky sources amongst each other. The reason for the leaking is most likely just human nature.
That said, the existence of the state of Israel is such a contentious topic that the leakers may have been motivated by politics as well as the above, sure. But I doubt state-level agencies are condoning the leaking here.
> So many are thrilled by the idea of knowing something few other people know to a degree that they paradoxically want to make it something everybody knows
Some people (often due to trauma) have a very different relationship with secrets than you describe. Some people get immense satisfaction from holding secrets, and have no issue keeping it that way. Sometimes those people have other flaws or vices, as often plays out. In my understanding, managing such people is its own meta-game within these professions