Tomatoes won’t set fruit if night time temperatures are too cool. What Zone are you in?
My BIL lives in San Diego, where it is sunny and 72 nearly every day of the year, but cool night time temps in the 50’s prevent him from growing tomatoes. His peppers do fine, though, especially hot ones.
I’m in Zone 8 or 8b. Our nighttime temps won’t be anywhere near 50 for several months.