Positives then period x 2

Li

I had a positive test in July with a miscarriage starting 1 day later. I had 2 positives this week and period started 2 days early. Wth?! Why do I keep getting positives but my period comes as usual? It's like the hormones aren't telling my uterus, hey, keep that baby!