Retirement tax questions

You have removed excess contribution prior to the filing deadline for your tax return.

Per IRS Pub 590A : The earnings (profit) are considered earned and received in the year the excess contribution was made.