Try forgetting the device in Bluetooth settings first and pairing it again - sometimes corrupted connection data causes exactly these kinds of disconnections. You go into settings, find Galaxy Buds3 in the list of paired devices, tap forget, then take the earbuds out of the case and connect them again like it's the first time. You should also check if the earbuds' firmware is up to date - you do that through the Galaxy Buds app, they push patches there pretty often that actually fix stability issues.
If that doesn't work, try reconnecting with a different phone or tablet - if the problem goes away, it's your device (could be some app or Bluetooth module conflict). If the same thing happens on another phone too, then it's an issue with the earbuds themselves. In my opinion, it's most likely some software glitch rather than a hardware issue. But if the warranty is still valid, it makes sense to contact service - you can ask for a replacement or repair, they figure this stuff out pretty quick.