Things work differently in the military from industry where troops often work closely to their leadership...IMHO, people in high profile positions should be smart enough to stay out of trouble, and avoid getting blamed for sexual conduct.
I can only speak to personal experience from working at a high leadership level in the Fortune 10 environment.
Lots of competition, people competing for promotions, lots of bad politics.
When we promoted a new recruit at HO, senior level, we warned them to stay away from strip clubs, take their wives with when going to a bar and even suggesting that if they are alone in an elevator, and a women enters, to get out and wait for the next stop.
I had a colleague, who took his QA manager to dinner with major clients. After he left, one of the clients tried his luck with her, she started a case against her manager, who was not even present, when this happened. She claimed he set her up purposely, which was not true. He got transferred, to a position in Egypt.
Most large public companies, would fire, even if the relationship was consensual. Even if it is the CEO.
We went through all the training and seminars on sexual and work place harassment.........however these instances still happen...
Before I retired it got to a point where a subordinate female propositions a senior leader and if rejected fabricates a story.....even if the senior leader is found not guilty, their career is finished.....
I watched the careers of two respected generals I worked with get accused, found not guilty and then have their careers end as a result.....the accusation followed them regardless of the outcome....