The attack has called into question how Qatar might respond, the future of its mediator role, and its defence alliances.