Coherent And Incoherent Quantum Feedback In An Atom–Cavity System