Spotting

My period is due in a few days but for the past three days I’ve had spotting. The weird part is that this spotting only happens in the morning and then there’s nothing until the next morning. What is going on with my body?😬