The kingdom is being dragged deeper into the wider regional conflict as it faces attacks from Iraq and Yemen.