Those black things are springs that curve down and press against the drywall---stick a flat screw driver into the slot at the top and push up a bit and they should release---
goodle the instructions of a Halo recessed light---that's not a Halo but the springs are similar
goodle the instructions of a Halo recessed light---that's not a Halo but the springs are similar