Chemical pregnancy

Can endometriosis be the cause of a chemical pregnancy? Anyone with endo have any experience with that? I know it’s not my fault & theres nothing I could have done about it. But as a healthy 25 year old, I’m just trying to make sense of it all.