chemical pregnancy?

yesterday I had a positive on a couple of test. they were faint and I was 10dpo. yesterday night I started bleeding and now it's turned into my period. AF wasn't due for 4 more days. my cycles are regular. does it sound like I had a chemical pregnancy? if so what can cause them?