Retirement tax questions

If the child is not an employee (W-2) he is considered self employed.  From the source you cited:

 

• A minor who earns tips or makes more than $400 (tax year 2023) in self-employment income will typically have to pay Social Security or Medicare taxes, regardless of their total earnings