I have small business . TT let me contribute to 401K solo and SEP IRA. Why it did not allow me to contribute to ROTH IRA saying I do not have earned income.?

I do not have any other employees. I'm the only employer and employee.