It appears that they made the transition from green house to raised beds too fast .A common problem if you don't harden off (gradually acclimate plants to a new environment) If so it looks like your plants are already in recovery mode. It is possible that you have some organism that attack the roots. This is accelerated in wet soil. If the plants continue to deteriorate I would suspect one of the fungi like damping off or clubroot.
https://plantvillage.psu.edu/t...