In direct sunlight, the formed product hydrogen chloride gets protonated which results in an explosion. This reaction is a free radical substitution reaction.