Can menstrual cup give me endometriosis?

No it can't.

Endometriosis is a condition in which cells similar to those in the endometrium, the layer of tissue that normally covers the inside of the uterus, grow outside of it. Menstrual cup has nothing to do with it.