Clot and heaving bleeding 15 weeks

Kim
I passed a large clot and had heavy bleeding yesterday.  I went to the ER and they did an ultrasound.  They say the baby looks fine and to do pelvic rest.  Any idea why I might be bleeding?  Could this be the start of a miscarriage?  I am 15 weeks pregnant.