The trauma (possibly in conjunction with the nature of his reality-altering powers) had caused David's psyche to splinter into multiple personalities, each personality manifesting different mutant abilities.