You can’t connect AirPods directly to an Xbox because it doesn’t support Bluetooth audio. Instead, use the Xbox controller’s 3.5mm headphone jack with a Lightning-to-3.5mm adapter, or connect through the Xbox app on your phone/PC for game audio via AirPods.