Bleeding after I poop

So today I look in the toilet it’s a lot of blood then normal I wiped again nothing goin on anymore only after a hard stool I had going on it was hard it hurt while coming out does this mean I have hemorrhoids when I wiped it was a lot of blood after this stool

I’m currently pregnant 31 weeks and 3 days with my baby boy I hope this isn’t bad I don’t have any blood coming out of my vagina just after I poop sometimes especially if it’s hard cause my poops all over the place first I’ll have diarrhea then constipated it’s weird