Why do arthropods hide after molting?

The main reason is how weak and vulnerable they are just after molting. The new exoskeleton is still soft to allow growth of the animal. The other is the reason they hide DURING molting - it renders them immobile, some species have to lie on their back for hours on end and can't defend themselves.