No, a return of excess contributions and earnings is not treated as a regular distribution.
The excess contribution part is not taxable but the earnings are taxable for the year in which the excess contribution was made (for example with a 2021 excess contribution the earnings will be taxable in 2021). A 10% early withdrawal penalty applies on the earnings if you are under 59 1/2.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"