A reaction between something in your genes and something in your environment probably causes the disease. Researchers still have a lot to learn about it, but it's likely that many things play a role. Some, like exposure to a virus or malnutrition, might have happened while you were still in your mother's womb.
No one knows exactly why it usually crops up in late adolescence, but there are many theories.