Is this poop what caused me hemorrhoids?

30F 5’3 160lbs

When I was pregnant with my son (2M) I had this bowel movement that has forever haunted me. I was on the toilet cramping and pushing for 30 min to an hour and when I finally passed the stool it was about the width of a football and the length to where it was resting aside the side of the toilet bowl. I’d never in my life passed a stool that big/long.

My question is: is that normal with being pregnant?? And is that the cause for my terrible hemorrhoids or is it more likely because I pushed during child birth for 4 1/2 hours?

adding NSFW tag bc mention of bowel movement