Qatar is a key mediator in the US-Iran war and has also sustained heavy Iranian attacks, especially on its energy infrastructure.