You have to put them in pairing mode first:
For airpod pros: Open the lid, keep the earbuds in the case, double tap your finger on the case just below the green led, The led should start to flash white and the airpods now appear in the device list in linux so that you can pair with them. Non-pro have an physical button on the rear IIRC.