The coalition behind Mamdani is a fragile alliance that requires careful maintenance.