Question: how gingerbread came to be?
Answer: Gingerbread houses originated in Germany during the 16th century. The elaborate cookie-walled houses, decorated with foil in addition to gold leaf, became associated with Christmas tradition. ... It is unclear whether or not gingerbread houses were a result of the popular fairy tale, or vice versa.