Yep. In simplest terms, whatever behavior you reward, you will get more of said behavior.
Well, Obama already told the Taliban that we are leaving in 2016. Maybe they are the one's who are rewarding Obama's good behavior--along with the release of five of their radical Islamic brethren.