It's not more detailed, it's different lighting. I would imagine PS5 uses RTGI or something more advanced as you can see the character blending much nicer with the environment and not glowing like on the SW2.
Look at the background of the scene you've posted. It's not supposed to be that sharp but the Switch 2 is oversharpening everything to the point where it is messing up intentional focal length depth of field effects.
I wonder if gamers will not pick up on this over the years as this tech becomes more of a standard, and everything just becomes oversharpened and darkened like those bad ENB mods.