A tomato grows little roots along its stem when you bury it; ivies, pothos and monsteras send out aerial roots to cling on; and a cutting roots precisely thanks to them.
That is why tomatoes are planted deeper than they sat in their pot: the buried part of the stem fills with roots and the plant is better anchored and fed.

