Aharon and Moshe were not giants. These are metaphors and stories that have been taken literally. Many Rishonim have spoken about what a shame it is that people take aggadot literally when they are usually either speculation or meant to convey sodot. Very rarely are they literally true. In this case Aaron is obviously not 10 amot tall. Og's bed was 9 Amotamot by the Torah's words, implying that was his height, now how did Moshe, who is taller than him, jump and only reach his ankle?
The blessed Rambam's thoughts on the matter:
The first class is, as far as I have seen, the largest in point of their numbers and of the numbers of their compositions; and it is of them that I have heard most. The members of this class adopt the words of the Sages literally, and give no kind of interpretation whatsoever. With them all impossibilities are necessary occurrences. This is owing to their being ignorant of science and far away from knowledge. They do not possess that perfection which would spur them on of their own accord, neither have they found any means for rousing their attention. They think that in all their emphatic and precise remarks the Sages only wished to convey the ideas which they themselves comprehend, and that they intended them to be taken in their literalness. And this, in spite of the fact that in their literal significance some of the words of the Sages would savour of absurdity. And so much so that were they manifested to the ordinary folk (leave alone the educated) in their literalness, they would reflect upon them with amazement and would exclaim: “How can there exist any one who would seriously think in this way and regard such statements as the correct view of things, much less approve of them.” This class of men are poor, and their folly deserves our pity. For in their own opinions they are honouring the Sages, whereas in reality they are all the time degrading them to the lowest depths—and this all unconsciously. As God lives, it is this class of thinkers that robs our religion of its beauties, darkens its brilliance, and makes the Law of God convey meanings quite contrary to those it was intended to convey...
-Rambam, Introduction to Mishnah Tractate Sanhedrin, chapter 10 (Perek Helek)