Switch being down just 16% YOY in it's 7th year is a phenomenal performance. Almost unprecedented legs for a Nintendo platform; only the Gameboy had that kind of staying power, and only due to the lightning in a bottle that was the rise of Pokemon. And Switch has already passed the Gameboy's total sales.
Xbox though... over 20% down at the three year mark is terrible; that's when a platform should be in its prime, not declining more steeply than it's 7-year-old rival.