First, try the surefire method: plug in only one speaker, say, left, and also plug in only one channel of the source to the corresponding input (also left). Does it play? It's correct. Does it play from the other, right speaker output? It's reversed internally.
Also make sure you're plugging things correctly in the first place. Left is left and right is right
looking from the front. It's also labelled that way. If you look from the back, left is right and right is left!
Unlikely mistake, but it happens.
If all that is correct and it's still playing to the right speaker output from the left input and vice versa, the internal wiring is reversed. But fear not, that's an easy fix.
If you open up the device (disclaimer: only do it if you know what you're doing and take proper precautions), you'll see this:
View attachment 395082
This may look a little different if you have the RCA version, but the same principles apply.
Circled green is the inputs, labelled as Ch1 and Ch2, red is the speaker outputs labelled as LS1 and LS2. Check whether both go to the same connectors on the back correspondingly. If the left input goes to Ch1 for example, then LS1 must go to the left speaker output.
Fun fact: if we want to be picky, this is done "wrong" on my specimen. Left is Ch2 while it should be Ch1 - convention is that left is Ch1. But the speakers are also reversed, so overall it's correct again.
Check this on yours. If these are really reversed, you can simply swap the plugs circled in green, and that was it.