Jerusalem was a bluff. Israel never wants what they say they want, they want to complain and use it as an excuse.
Trump just called them on their bullshit, while at the same time giving them a white elephant. I'm sure he struck a deal and got something else too.