Retirement tax questions

To quickly add to the above reply: You can access the 2021 form at this link:

https://www.irs.gov/pub/irs-prior/i1099r--2021.pdf

 

It shows that code P is for excess contributions made, and therefore earnings taxable, in 2020.