Shedding uterine wall during pregnancy 😓

would it be bad to shed the uterine lining during pregnancy? I had bleeding and my endometrium went from 9.5 mm thick to 0.9 mm after the bleeding... what could this mean?