Hmmmm.
I’ll treat this as a serious question.
Generally, the double consanant is employed to preserve the short vowel sound preceeding it. If a vowel is followed by a consonant and another vowel, it takes the long sound of the vowel (when two vowels go walking, they play a little game. The last vowel is silent, the first says it’s own name.) and the second is not sounded.
An example is found by the word “rap”. It means to hit something, like knocking on a door and is synonymous with “tap”. If it is an on-going action we give it an “-ing” suffix. However, to preserve the vowel sound we must double the “p”, thus “rapping.”
If we didn’t double the “p” the “a” would be sounded with the long sound, making the word “raping”. That has a different meaning entirely.
Hope this helps.
Flash back to “grammar” school. Still makes my head hurt. The “rules” drove me crazy, especially because there were so many exceptions. For an A.R. type, it was pure heck. I before E EXCEPT after C. Yea, right. That sure makes sense.