Retirement tax questions

My financial advisor/company whom originally purchased the Roth IRA for me. Sorry for not using very good terminology. When we found out that it was an excess contribution situation, my financial advisor took steps to correct it by withdrawing the excess funds (years 2021 and 2022). They actually sold the shares and since the value of the shares were lower than when the shares were originally purchased, the withdrawal was less, i.e. a loss.  Example: original purchase was 70 shares at $100/share and sold the same 70 shares at $80/share.