Repro place above. Wait ~6 seconds and the two humanoids will spawn out, then spawn back in, and only the one that has its hats attached via Welds breaks. Any clues why this happens?
EDIT: Found a workaround for this- cloning instead of setting Parent causes the welds to stay put. It might still be worth looking into why this happens, though.