What causes a little spotting 1&2 dpo?

Is it from ovulation or something else?