Arthropods like shrimp need to be undisturbed after and during a molt, their new exoskeleton needs to harden and molting is extremely stressful. It's not uncommon for arthropods to die from the stress of molting alone. Typically shrimp and crabs hide to protect themselves, but sometimes for whatever reason they do not.