I don't know why but every time I connect my Galaxy Buds they randomly disconnect sometimes
One thing that may help is settings/apps/3 dots at top right/show system apps and clear the cache of any app with "bluetooth" as the first word
What are you connecting to??? If your phone has bluetooth 5.0, then you shouldn't have any problems. Galaxy Buds are bluetooth 5.0, I never had any disconnects.