It’s “appeal to hypocrisy”. It’s very similar to butwhataboutism, but butwhataboutism relies on constantly shifting the focus and making the opponent jump through hoops while the butwhatabout-er never concedes anything. Hypocrisy is saying “you did bad shit too.”