This looks at first sight 'freeze'...were these guys outside one night too long? Too close to glass french doors?
Next time this happens before you drag them indoors or before the sun comes up turn the sprinklers on. This SLOWS the thawing of plant cells so they don't burst, rupture and turn black. As much.
Plants in pots have their roots exposed to the cold temperatures as well as the drastic temperature changes that happen out of the garden soil above the surface. The garden soil protects the roots, plants in pots have roots that are completely vulnerable to cold and temp extremes.
These tomatoes will not produce while indoors. Unless you had the proper artificial lighting necessary to allow the plant to make enough food so it could make seed and reproduce. You should try getting these plants used to the out of doors starting with 1/2 hour for a few days, and hour for another few days and so on. Then either planting them in the garden or transplant into a larger pot using only potting soil. If you've not used fertilizer, if your potting soil does not have added fertilizer you have to add a balanced fertilizer lower in nitrogen than the P and K percentages.
You need to transplant these plants into 2 gallon pots no larger using only potting soil from a bag. No added fertilizer, no added water holding gimmicks (sponges and gels), just plain old sterilized potting MEDIUM there is very little soil involved if at all. No rocks at the bottom beneath the soil and above the drain hole. Begin by taking them out of doors under a roof. No sun. Then acclimate to the sun before transplanting them into the garden proper or leaving them in the pots (minimum 5 gallon, 10 and 15 gallon pots are normal having up potted at least 4 times to the largest pot)...takes some work no doubt but this is easy once you understand the correct process and use just potting soil in the pots and moving plants from indoors to out of doors or from out of doors to indoors or any major change in the environment needs the human to take the time to acclimate the plant to the new space. One little freeze did what you've got going. Your tomatoes will come back but there is some pruning involved and acclimating to an environment where the plants are able to photosynthesize enough to make their own food and seed...lots of carbohydrates to MAKE by those little chlorophyll factories, gotta have the right amount of light and moving plants around is very risky unless you know how to acclimate or 'harden off' a plant to a new environment.
To take a plant that has grown indoors out of doors for one night or part of a night below 40 degrees F will cause this 'cell bursting'. Especially in the mornings just before the sun rises, the temperature drops precipitously and then the sun comes up and quickly raising the temperatures...which causes the plant cells to burst...and turn this black stuff.
If your plants have never been out of doors, near windows or in any situation where freezing was not an issue, I am totally wrong. And we need to go another direction.