They can’t say that the man assaulted someone as a fact. But that the man was charged with assault is a fact. Alleged attack is not a charge, so “charged with allegedly attacking” is nonsensical. To cover their ass they can say “charged for allegedly attacking”, which shows that he was charged, why he was charged, and also adds the required “allegedly”.
Also this “shower thought” is word for word one of the popular posts on lemmy from a few weeks ago.