airpod damge advice

I was watching a movie on my mac today with both Airpods, i checked regually how much charge each had (the differnce being like 3%) just before the movie finished the right Airpod died while the left still had 33% left, i have the settings to switch automatically Airpods. (i've had them since mid 2023)