The correct statement is:
The growth of the tomato plants is the dependent variable and the type of fertilizer is the independent variable.
In this investigation, the students are studying how different fertilizers (the independent variable) affect the growth (the dependent variable) of the tomato plants.