Because some people dont have the mindset of yhe biological(the scientific mindset) and culinary(the common mindset) seperate.
Tomato is common for it because its a fruit biologically and a vegetable culinarily.
Other examples of it in common practice is “berries”. Culinarily, strawberries and raspberries are berries, and bananas arent. Biologically its the opposite.