Retirement tax questions

Thanks!  What I still don’t understand is why this question came up now.  I withdrew more in RMDs than I ever contributed at least 5 years ago.  It is so complicated and confusing that I would probably pay an accountant more money to file amended returns than I would have ever gotten in refunds if I overpaid MA takes for the last several years.