Roth ira and parent claiming child

I have a friend who put money into his 2021 Roth IRA from his savings account and he maxed it out, but his dad is claiming him on his taxes and he doesn't know how to report it because my friend hasnt made any income this year and that was saved money. Do you know what we should do?