Why do two dāls appear separately in مَدَدْتُ?

Advanced Sarf Application: Ambiguous Forms, Weak-Letter Reasoning and Error Correction