Retirement tax questions

@Opus 17 

 

Quick follow-on question: if I had originally contributed $6,000 to the Roth instead and had $500 of earnings, would the $500 of earnings still be taxed? It's not about the amount over the IRA contribution max ($7,000), but the issue of earnings, correct?