Logical fallacy
Whataboutism
A criticism is evaded by directing attention to a different alleged wrongdoing. Another party’s conduct may also deserve scrutiny, but it does not resolve the original charge.
Examples
You say our report needs an audit. What about the other department's report? Their errors absolve ours.
Why discuss my missed payment when you once sent one a day late? That makes my bill irrelevant.