Some facts about tty on my systems.
under my /dev/
tty tty0 ttyS0 : wsl, wsl2, native linux, ec2
pts/ptmx ptmx: wsl, wsl2, native linux, ec2
/pts/0: added in many cases: wsl1, wsl2, ssh, for native linux: open terminal windows in local gnome or xrdp session.
ttyUSB0: seen on native linux, when USB is connected, e.g. a debug board. the same debug board show up as ttyS0 for wsl1.
pts/0 connects to ptmx, while tty to Terminal Emulator like ctrlAltF1 and supported by kernel directly
gnome directly connects to keyboard. gnome logically is like ssh+sshd
sshd asks ptmx to create pts/0
$ tty output: /dev/pts/* on wsl2 ssh and many other cases, except on wsl1, it outputs /dev/tty*