I don't think anybody is trying to defend him; he's a wrong un'.
All we know for a fact is that sweaty Andy went to a known sex offenders private island and was photographed with a girl who later went on to claim the he had sex with her despite knowing that she'd been groomed and procured by Epstein for the purpose of having sex with rich, privileged men. She was 17 at the time of the alleged offence, which she claims he also knew.
He then made up an absolute crock of sh*t story and gave an ill advised car crash interview which just made him look guilty as f*ck.
We also now know that he's paid her a large settlement which essentially puts the civil case to bed (no pun intended). We can only speculate the reason behind this, but if I were forced to guess I would say he was fearful of disclosure evidence which may further damage his reputation and/or open him up to criminal prosecution in any future case.
Either way it is conduct unbecoming for any military officer, let alone a high profile member of the Royal Family.