There are three ways to pronounce the -ed ending of regular verbs in the simple past.
The pronunciation depends on the sound at the end of the infinitive of the main verb:
When we pronounce voiced sounds---- /d/ ( our vocal chords vibrate)
if it is a voiceless consonant-----/t/ (our vocal chords do not vibrate)
if it finishes in t or d-------/id/

