Could it be that "the existence of government" plays a big role in there being "very many significant differences between Somalia and the United States"?
Advanced countries can turn into rubble very fast if central government collapses -- grabs for power, civil wars, etc. Heck: https://searchingforsyria.org/en/how-can-i-help-syrian-refug...
I dont think you can qualify government as "just one small part". America would not be in the same place today without the decisions taken over time by its leaders. The same decisions would not be made under a different system of incentives for a leader like a monarchy/anarchy
So I sometimes try to avoid mentioning it, and especially anything to do with Brit royalty.
Still, the UK is objectively doing alright these days, and objectively has a monarchy :)