Bleeding every time I poop

I'm 10 weeks pregnant and for the last week or so whenever I poop I wind up having a bit of blood coming from my vagina. I have been very careful to make sure that it's not blood from my actual stool. I don't understand why this happens and why it's only when pooping. Anyone have any thoughts?