I think I miscarried?

Okay so long story short, my cycle has been abnormal and unpredictable. I missed a period for 3 months, and decided to go to the doctors. 1.5 weeks before my ultrasounds I got my period.

3 days after my transvaginal & pelvic ultrasound I began spotting and getting heavier to a period. Just about 2 weeks after my last period.

Didn’t think much of it, except for the fact this morning I used the bathroom and saw two weird looking clots in the toilet.

Could I have been pregnant without knowing? Despite having a period at the end of July? And does this sound like a miscarriage?