Carbocation B is more stable due to more hyperconjugation and formed relatively at faster rate compared to A.
Carbocation B is more stable as it is secondary carbocation having more number of α-hydrogens, having a greater +I effect and formed with faster rate due to low activation energy.