Dilation check today

After my doctor checked my cervix, I started bleeding a little bit but I saw a blood clot that came out? Why?