EP-T16S MacBook Air pairing problems

It’s been a month that every time I use the earbuds on my MacBook while I’m in a video call with microphone on, once I exit the call the earbuds automatically disconnect. If I try to reconnect them, they give me the pairing sound, but after 5 seconds they automatically disconnect again. Then, after 10 minutes of continuous pairing/disconnecting, they finally work properly again. Does anybody have a solution?