the theory is Markovnikov's Rule. It states on my textbook that halogen adds to the more highly substituted side of the alkyne bond and hydrogen adds to the less highly substituted side .
Markovnikov's rule is the name of the observation, but do you understand
why and therefore when Markovnikov's rule holds?
"It is stated in the textbook" is not an explanation of why something happens. To understand the so called "peroxide effect", I think you need to understand the theoretical basis of the Markovnikov rule. The logic behind the explanation of the regioselectivity of the ionic and radical mechanisms is the same (relative stability of intermediates).
If you draw the mechanism and analyse the relative stability if the potential intermediates you can start working towards an explanation.