Hello. Welcome to hcm.
Skin hanging from anus is most probably due to anal sex as they r painless and no bleeding as hemorrhoids have pain and bleeding. As anus is not a physiological place for anal sex,the friction causes skin to hang. Also as you used increased pressure for defecation,all contributed to skin tag.
I advice you to stop anal sex for a period and see for the length of skin. Take cremaffin
syrup so that stools soften up. There is no complication if the skin tag was due to anal sex. If distressing,you can go for its removal. It will be minor procedure.
All the best