I don't understand your reasoning. Person A and Person C didn't kill anyone so how could they be guilty of murder? Person B and Person D both committed non-violent felonies and I think felony murder only applies to violent felonies like rape and arson. Maybe I'm wrong, but I think that's the rule.
There's been cases of people who didn't kill anyone being charged with felony murder. Things like two accomplices burglarize a house, the homeowner catches them and shoots one who dies, the surviving one is tried for the murder of his accomplice since the law states that they are responsible for any death done in commission of a felony.
That's not felony murder though. That's accomplice liability which can be unfair by itself. I think that only counts for those situations like a killing during an arson or rape.
In any case, I agree that felony murder is a ridiculous law.