Retirement tax questions

Hi, can you please explain this: " If all of the child's net profit has been contributed, there is already an excess contribution to this child's Roth IRA." I don't understand what do you mean by excess contribution when $4000 or $3,717 is under $6000 limit? Thank you