Your tomato looks like it has Bacterial spot. Sometimes the plants and even the
seeds are already infected and spreads once it is in the garden, and it can be spread on your garden tools as well. Warm, humid weather spreads it quicker. The nutrient deficiency you mentioned can also stress the plant and make it more vulnerable to disease.
Do you plant many tomatoes? Are they planted in the same soil every year as well?