I had a dream on Tuesday night that I was going to miscarry. Then I woke up that next morning and miscarried exactly like my dream.😰how does something like that happen? That scares me

.

I would have been 5 weeks pregnant on Wednesday. On Tuesday night I had a dream that I was going to miscarry and that when I would wake up and go to the bathroom there would be brown blood. I didn't think anything of it and thought it was just a bad dream. Until I woke up that next morning on Wednesday morning. I got up and let the dogs outside. Then i went to the bathroom and there was brown blood. I called my doctor and she said to call if it turned red which it did yesterday and found out i was miscarrying. How does something like this happen? That I dream of this and it actually happens and happened the same way as my dream? It really scares me.