this usually happens during dry spells. the squirrels aren't
particularly interested in tomatoes as tomatoes, but they *are*
interested in them as sources of liquid.
providing a small birdbath and pan of water for them to drink
from - ideally, between their nest trees and your precious
tomato plants - might well do the trick. it's worked for
us.
arnold