It seem clear Trump made his decision on Jerusalem based on domestic political considerations (pandering to evangelicals).
This long time observer argues that the move strengthens Iran's influence in the middle east.
https://www.juancole.com/2017/12/trumps-jerusalem-mideast.html