Wireless earbuds work as a pair with one bud acting as the primary link. If the secondary fails to join, audio plays through one side while the pair otherwise behaves normally.
The usual cause is charging. Dirty contacts in the case mean one bud never charged, so it never woke up to join the pair.
Balance settings are the overlooked software cause. An accessibility balance slider dragged to one side produces perfect one-sided audio through any headphones, including wired ones.
Testing with a different source device and a different pair separates the three possibilities in a couple of minutes.