Prosecutors have contended that Mr. Siraj and Mr. Elshafay , driven by anger over American foreign policy in the Middle East , the war in Iraq and abuse by American soldiers of Iraqi prisoners at Abu Ghraib , plotted to blow up the subway station .