This website contains age-restricted materials including nudity and explicit depictions of sexual activity.
By entering, you affirm that you are at least 18 years of age or the age of majority in the jurisdiction you are accessing the website from and you consent to viewing sexually explicit content.
Most Nintendo Switch games do this. I think part of why is you might be using a pair of Joy-cons or a Nintendo brand controller with the Nintendo ABXY layout, 3rd party controller with the Xbox ABXY layout, a sideways joycon with ABXY buttons but rotated 90 degrees including the labels, or a sideways joycon with unlabeled buttons.
There’s no way for the game to consistently the way your controller is labeled, but it can know which of the 4 buttons needs to be pressed based on location.