After you file

"only the growth will be taxable and it will be reported on 2024's tax return."

 

This is incorrect.

positive earnings allocable to a 2023 excess removal go on the tax return for the year of the contribution, 2023.

You will get a 1099-R with code "P" informing you to amend your 2023 tax return.

@KarenL