I will describe a problem that has the same flavour as yours, since it may throw some additional light on your observation.
A standard deck of cards is thoroughly shuffled. Someone lifts up the top $5$ cards, without looking at them, and looks at the sixth card. What is the probability that this sixth card is a Queen? It is probably intuitively obvious that this probability is $4/52$, since all orderings are equally likely.
Now change the problem a tiny bit, we deal out the cards one by one, looking at each one. What is the probability that the sixth card dealt is a Queen? (We are allowing one or more of the first five cards to be a Queen.)
Whether we looked or not obviously does not change the probability, so the probability is $4/52$.
But we are accustomed to solving such problems by a "tree diagram" procedure, so we might want to trace out all ways in which we can get a Queen on the sixth draw. One of them, for example, could be QQNNNQ, another could be NNNNNQ. Calculate the probabilities for each path (they are not all the same), and add up. Not too hard, but it involves some work. After the smoke clears, the mess will simplify to $1/13$.
After performing the computation and noting that the answer is (equivalent to) $4/52$, which is the same as the probability that the first card drawn is a Queen, one might ask a question very similar to the one you asked.
The answer to the cards question has already been given in the first few paragraphs of this answer.
Now to your problem. Let's change your description a little. We have $5$ cards, the $10$, Jack, Queen, King and Ace of spades. Let's label the first three A, with invisible ink. Let's label the last two B, again with invisible ink. Shuffle the $5$ cards. Note that all orders of the cards are equally likely.
Now reveal the labels, using a magic light. It is I hope obvious that the order AAABB has the same probability as (say) the order ABABA.
Sometimes, as in this case, even when we are told that certain objects are identical, one gets a clearer analysis by imagining them distinct, with any identicalness temporarily "secret."