Earlier quoted context omitted.
Many games can just swap devices on the fly (from the top of my mind, Elden Ring, Witcher 3, Lords of the Fallen, Dirt Rally).
This gets a little rickety when you have permissions tied to input devices, which is not uncommon in households with young children. Also for some games it’s just generally buggy.
At least on the switch you just have accounts in the upper left and switch between them regardless of controller. Is it a Sony implementation?