No one seriously believes he was cashiered for infidelity, do they? I mean, c'mon. And who says he gave her classified information or would have? Is there any reason to believe that?
The fact is, he could have resigned, as most do, for "personal reasons." No, they chose to force him into humiliation and disgrace.