It originates from European and African folklore, and is based on the idea that cracks in the ground are portals to the supernatural realm. Stepping on a crack is thought to invite or release spirits into the world that could cause harm to a person or their family.