France, Germany, and the United Kingdom say they’re ready to defend their interests and those of allies in the Gulf if necessary by taking “defensive action” against Iran.
“We will take steps to defend our interests and those of our allies in the region, potentially through enabling necessary and proportionate defensive action to destroy Iran’s capability to fire missiles and drones at their source,” it added.


You are absolutely correct, but that’s also irrelevant to the other posters point. The other nations they’ve bombed are allied with the US and host US military bases.
It makes complete sense to target infrastructure and military bases in those countries.