An IRA distribution is taxable only by your State of Residence at the time you receive it.
If you wish to obtain a refund of incorrectly withheld MA taxes, then you must file a non-resident MA tax return, on which you report the withholding but declare zero MA income.
If you wish to avoid the TurboTax fee, one option is to download the MA non-resident tax return form from the MA tax website and complete it by hand.
https://www.mass.gov/personal-income-tax
(At present the finalized 2024 form is not yet available on the MA website.)
**Answers are correct to the best of my ability but do not constitute tax or legal advice.