Christmas lights commonly have a male plug on one end and a female on the other. Plug the string into itself, and you have a continuous loop, no loose ends flapping around.
why do fishing lines always get tangled, why do marine lines always get tangled, why do power cords always get tangled, why does long hair always get tangled. Just Because!