Certified GKH Gardening Expert
This appears to be root suffocation from wet soils, combined with less than ideal lighting. Correcting both will fix most of the issues. Proper maintenance will ensure a healthy plant.
This article will help you to grow tomatoes to their potential:
This link will take you to a free ebook that you can download on the subject of tomatoes: