Different scenarios too.
Amber Heard was never charged with anything, only sued. Due to her own ignorance and ego, outed herself as an abusive Karen in court.
Ezra Miller was protected by WBD CEO David Zaslav because he wanted the Flash to succeed. Since the film tanked, it's unclear if that...