"The general rule with regular forms is that -ed has a /t/ sound when it follows an unvoiced sound, as after /p/ in``stopped""and after /s/ in``passed""."
"Voiced sounds like /b/ in``robbed""and /z/ in``phased out""are followed by a /d/ sound."