Rearrangement of carbocation
In all cases we study the stability of the carbocation resulting from the hydride/methyl/phenyl shift. That shift will be more favored whose resulting carbocation is the most stable.