There could be many reasons why AirPods are not getting connected. You can try to put them inside the case and press and hold the setup button until the white light blinks. Keep in mind the lid of the case must be open.