The exact cause of dermoid cysts is not well understood. They are believed to originate from cells that are present from birth, known as germ cells. These cells are capable of developing into different types of body tissues, which is why dermoid cysts often contain a variety of tissue types.