This is from light exposure as far as I'm aware, I've had some strains stay green on the stalks, some turn red where the light hits, some turn purple. As far as I know this is normal and caused by genetics.
There are a couple of deficiencies that could cause this also but your plant does not look like it's suffering.