Not enough information. Did they go through Adjustment of Status in the US or Consular Processing outside the US? If Adjustment of Status, it could be the child was under 21 and so would be in the Immediate Relative category, which does not require the person to be in status to file for AOS. (Though it's rare for a minor child of a citizen to visit on tourist visa.)