"The rule of felony murder is a legal doctrine in some common law jurisdictions that broadens the crime of murder: when an offender kills (regardless of intent to kill) in the commission of a dangerous or enumerated crime (called a felony in some jurisdictions), the offender, and also the offender's accomplices or co-conspirators, may be found guilty of murder." (Wikipedia)
Click on the link below for a deep analysis of this injustice: