The alliance was formed between Jordan and the US during the cold war because the US offered protection against regional rivals.
The country of Jordan was located next to Israel and soviet allied Egypt. Who was causing trouble against Jordan because Jordan stood against Communism. And because of Egypt and Jordan being against communism lead them to being a faithful allie of the US.
The riots started shortly after the Egyption's created propaganda against the alliance between them and the USA. Because he saw the US as a threat because the soviets were backing them
Jordan was heavily anti-communism. They put people in jail for being communist, the Jordan prime minister said "that communism is the new imperialism and if we are consumed we shall never escape or overthrow it.
Today Jordan is one of the US's greatest allies in the middle east. Today the help with the fight against ISIS and they also played a key role in the Syrian crisis, as well as the battle against the Islamic state.