When and why are children or staff moved to the Untagged program?

Children or staff are moved to Untagged when no program is assigned to them or when a program they belonged to is deleted.