When we add the -ED ending for the past, sometimes we need to change the end of the verb root. Here you have the spelling rules explained.