Rheumatoid arthritis is caused by autoimmunity when the body is unable to differentiate between non-self cells. The immune system attacks joints and causes inflammation and degeneration of cells.