The condition arises during fetal development when the vitelline duct, which connects the developing gut to the yolk sac, fails to completely regress. The remaining segment forms a diverticulum, typically located on the anti-mesenteric border of the ileum, around 2 feet from the ileocecal valve.