I'm a native English speaker but I have to admit that the spelling difference is not logical. Scrapping is fine but scraping should really be "scraeping" to make it's pronunciation clearer.
Vowel-consonant-vowel often elongates the first vowel: bate, gene, line, tone, puma. A second consonant usually breaks the elongation: batter, gentoo, linnet, tonne, pummel. (There are plenty of exceptions.)