Have you recently updated the phone? This could be something a factory reset can resolve.
One thing you can try before that is to forget all devices on your Bluetooth settings for the phone and the earpieces, and then try to pair them as if for the first time. If that doesn't resolve it, then a factory reset is the most surefire option.