Negative to positive.

I'm just curious as to why a negative test would turn positive after like a day. I took a test, knowing it was way to early to test and of course it was negative. But today when I was taking the trash out I glanced at it and it had turned positive. Obviously way after the amount of time you're supposed to look, so not excited or anything, but just curious why this happens?