Welcome to HCM.
The debris seen in the uterine cavity
must have been blood collection in the cavity. Bleeding could be due to hormonal
imbalance or some small retained placental tissue which could not be picked up on ultrasoud.
Now that every thing is alright, don't worry about the past, but maintain a positive attitude and hope for the best.
Wish you all the best.