Your manager’s manager shouldn’t be directly criticizing you. This is so wrong on many levels. That manager should relay feedback to your manager directly and your manager discusses performance in a 1:1. That’s the ethical way to do it. This feels like a power play and you should get an exit strategy worked ASAP.