I mean, handheld gaming has dominated the market for ages now, the PS5 still has supply issues, Sony is prioritizing more and more the western market over the japanese one, the Switch is a one in a lifetime system with stellar titles for many series beloved in Japan, Sony's censorship policies has created a decent amount of bad blood with many devs over there...
The Switch has every reason to be on the lead, while the PS5 has a lot of things keeping it behind.