Why would anyone want to expose the good stuff to strong light? It's supposed to stay cool and dark.
For the same reason we heat the extract to decarboxylate it for oral / topical use. It improves the taste and possibly the potency of the herb. The extract is only exposed to the light for a few hours, the same as it's only heated for a few hours.