is it dying or molting??

I just changed the tank so the tiny plastic food dish is temporary, i’ve had these since christmas and i just switched two to a separate tank because there were to many in one tank, and i’m worried if it’s molting or dying. I put the other one that was fine back in the original tank because i didn’t want it to mess with it if it was molting i’m just super worried.