The O atom of but-3-en-2-ol abstracts the proton and followed by loss of a water molecule, there is formation of allyl carbocation, which is stabilized by delocalization of electrons. Thus we obtain a mixture of 3-bromobut-1-ene and 1-bromobut-2-ene .