I'm confused

Okay I been eating way heather this past month before my cycle and the last 3 days I have very very very light bleeding I thought I was spotting but it turnout it was my period. Do you know why?