Well, illegal growing in a state where marijuana is legal seems strange but if you read the article, the grows described here are primarily targeting the illegal markets in other states.
That isn't entirely true. There's a thriving black and grey market around THC oil today, in particular, in California. Counterfeits are a well-known problem. It's not improbable to think that the oil for those counterfeits could come from illegal grow ops.