The exact cause of teratomas is not well understood. However, they are thought to arise from pluripotent cells, which have the ability to differentiate into multiple types of tissue. These cells proliferate abnormally, leading to the formation of the tumor. Genetic factors may play a role, although most teratomas occur sporadically without a clear familial link.