Secondary growth in dicot stems is due to the activity of the vascular cambium and cork cambium, which increase the thickness (girth) of the stem by forming secondary xylem and phloem.