Whats going on with my body??

4 days late for my period suddenly start barely spotting. I've passed one half dollar sized blood clot and now no blood... What could this be?

I just had surgery a month ago and had some endemetriosis removed. Could this be the cause?