Sunni Muslim-majority Saudi Arabia and Shiite-majority Iran have often found themselves on opposing sides of regional conflicts including Syria's.