Understanding the different rotational behaviors of $^252$No and $^254$No