Actually, the thing is designed to cause abortion by disallowing the fertilized egg to attach to the uterine wall.
IUDs are primarily designed so that the strings that hang down into the vagina affect the movements of eggs and sperm to prevent fertilization. Affecting the lining of the uterus to prevent implantation is a secondary effect, and some types also release synthetic hormones.