I get this too (had nothing to do with pregnancy though) check out this link, I'll bet that's what's going on with you....it can affect the anus and/or vagina because they're basically beside each other.....
patient.info/doctor/proctalgia-fugax-and-anal-pain