His jocundity (fancy word but perfect for Obama) and the "shout out" at a deeply solemn occasion are completely consistent with his malignant narcissism.
He has a pathological inability to empathize with others...therefore, since the shooting wasn't about him, he views it at a great distance.