Nearly 35%% of the jordanian population are Palestinian refugees, 35% are jordanian and the rest are syrian and Iraqi refugees. Ratios are approximate. Not defending the king but asking jordan to house more refugees may not be the best solution to this war.
They're refusing refugees because 1. they can't handle them and it would cause a humanitarian crisis and 2. this is another nakba and those refugees will never be allowed to go home.