Oman is a key US ally which has tried to mediate the Middle East war and has itself come under attack from Tehran.