Oxygen donates two electrons to a proton from sulfuric acid H2SO4, forming an alkyloxonium ion. Then the nucleophile HSO–4 back-side attacks one adjacent hydrogen and the alkyloxonium ion leaves in a concerted process, making a double bond. There is no rearrangement in bimolecular reactions.