Public opinion and government policy are not the same thing.
Government policy usually follows public opinion in some way, shape or form.
That said, the government policy in the middle east, in a majority of nations is to not recognize Israel.
It's true that criticism of Israel has increased in many Western countries since the Gaza war, and some politicians have called for sanctions or reducing military support. But the governments of the U.S., Germany, the U.K., France, Canada and most other Western states continue to recognize Israel, maintain diplomatic relations, and generally view Iran as a major regional security threat.
The fact that these countries recognize Israel, are subject to influence from Israeli lobby groups and consequently push the false narrative that Iran is a threat, are well known facts that are not in dispute anyway.
Some of these nations also recognize Palestine, fwiw.
As for the Gulf states, it's also inaccurate to say their opposition to Iran is "purely" a regional rivalry. Iran has been accused of supporting armed groups and carrying out or backing attacks against Gulf states, shipping, and energy infrastructure for decades. Their security concerns about Iran are based on more than ideology.
No. This is not true.
Iran has not attacked Gulf states for decades.
They have aimed to attack US bases since the start of THIS war, which is justified since those bases were being used to attack the sovereign territory of Iran.
Their fear of Iran is regional geopolitics and religious sectarianism.
It is pretty much the reason why one of these nations - Iraq, actually invaded Iran back in the 80s.
And while only the UAE and Bahrain established relations through the Abraham Accords, Egypt and Jordan have had peace treaties with Israel for decades, and several Gulf states have maintained varying degrees of quiet security and intelligence cooperation with Israel because of shared concerns about Iran.
You can argue that many people in the Arab world remain strongly opposed to Israel; this is true. But it's incorrect to suggest Gulf governments would automatically side with Iran if not for Western support. Their own national security interests have often put them at odds with Tehran, regardless of Israel.
The primary reasons Egypt, Jordan and a few other states, cooperate behind the scenes, is as I said, due to economic dependence and their need for regional stability.
However their security and regional stability are themselves threatened not by Iran, but by Israeli and American actions in the middle east.
Therefore, they are caught between a rock and a hard place.
They have to side with the nations they actually hate and who actually cause this regional instability, because they are dependent on them for money, weapons and survival.
However, whether it be government, or the citizenry of these nations, they are all primarily opposed to Israel and the US on a deep ideological level. I don't think anyone really doubts that.
This is why they do not formally recognize Israel.
So understand this distinction between what they actually believe and what they are forced to do.
Don't get this twisted that they are somehow ideologically and politically on the same page as the United States and Israel.