The is a good point: the decision was made by Congress, not by Obama. Although I disagree with that decision, that is the correct way to make it. Now, Trump is withdrawing unilaterally, without Congressional approval.
Remember when presidents followed the law?