Consider the above reaction, the major product P formed is:
Since the medium is acidic and the group is on the carbon, the reaction process can be . So there will be a carbocation intermediate formed. Rearrangement also takes place as follows:
The gets added to the carbon with the positive charge. Thus, the right option is B.
Tagged Properties and reactions of alcohols. Machine-assigned, so read it as a strong shortlist rather than a verdict.