Retirement tax questions

@DanaB27 In an earlier post you stated, "Please make sure that the 2021 excess is withdrawn as a regular distribution without any earnings.".  Please help me understand the difference of withdrawing funds with or without earnings.  If I withdraw funds without earnings, what happens to those earnings in subsequent years?