beans like to be near certain types of plants now they they find that tomatoes don't do well if you put them next to something like uh peas i don't know something
Tomatoes are better off not next to a plant such as peas, as they will not grow too well.