I claim the reason is that 5 is prime, while 10 is composite (10 = 5 times 2).
Therefore, 5 and 10, and 2, exist.
In any case existence of mathematical objects is a different meaning of existence to physical objects. We can say a mathematical object exists just by defining it, as long as it doesn't lead to contradiction.
You try answering the question without speaking of 5 or 10.
That is my argument.
The thing is assuming that 5 exists to conclude that 5 exists is obviously circular.
In particular, I would expect that if numbers don’t exist, the explanation I gave of the phenomenon I described, couldn’t be correct.
It's similar for the case of programs or algorithms. We can say that a sorting algorithm exists, or a chess-playing program or whatever, which means we know how to implement the logical process in some physical system, but it doesn't mean that they have some kind of existence which is independent of the physical systems. It's just a way of talking about patterns that can be common to many physical systems
I of course don’t mean that mathematical objects (such as the number 2, or some sorting algorithm) have the same kind of existence as my bed. To make the distinction, I would say that my bed “physically exists”.
Physical objects aren't like that because you can discover that they exist by empirical investigation.
In mathematics the discoveries are about the logical implications of sets of axioms. Some of those axioms contain assertions of existence, like a number 0 in Peano arithmetic or the empty set in set theory, and then you can prove statements about these objects based on the axioms. It's circular to infer from these conclusions that the axioms are true.
What's interesting is why certain axiom systems are so useful and fruitful. Personally I think it's because they evolved that way from our investigations of the physical world, but that's another matter
What you’ve pointed out is that the interactions of your cards, when confined to a particular set of manipulations and placements, is equivalent to a certain abstract model.