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.

Two desk drawers with separate faults, the nearer drawer pushed aside for the other

Examples

You say our report needs an audit. What about the other department's report? Their errors absolve ours.
The other department’s errors may also need review. They do not answer whether this report needs an audit.
Why discuss my missed payment when you once sent one a day late? That makes my bill irrelevant.