It is earned income for the purposes of federal filing requirements and the federal standard deduction. It is unearned income for the purpose of the federal kiddie tax, form 8615.
If your state has an income tax you need to check whether the state considers it earned or unearned income and for what purposes.