Your virtual assistant will differ depending on which smartphone you use, a key factor in choosing which headphones will work best for you.
The AirPods are designed for use with Apple's iOS virtual assistant, Siri, which is only available on devices like iPhones, iPads, and MacBooks. The Galaxy Buds utilize Samsung's virtual assistant Bixby, which is specific to its own devices.
If you plan to use voice commands, the headphones will work best when paired with their native assistant. It's possible to use AirPods with Google Assistant or Bixby, but you'll need a third party app to make them work together. Samsung does not list the Galaxy Buds as compatible with iOS, but it may be possible to pair them as standard Bluetooth headphones.