2-methyl-1, 3-butadiene is more stable than 2-methyl-1-butene as 2-methyl-1, 3-butadiene is a conjugated diene. More stable hydrocarbon is less reactive and vice versa. Hence, 2-methyl-1, 3-butadiene is less reactive towards HCl and 2-methyl-1-butene is more reactive towards HCl.