The yellow leaves and stems on Malabar spinach may be caused by root-knot nematodes, a pest that is not visible to the naked eye but can be detected by the swollen, distorted areas it causes in the roots. Ways to get rid of root-knot nematodes include crop rotation, interplanting marigolds, and amending the soil with organic matter to increase the presence of microorganisms that feed on the pest.