North Korea, South Korea, Japan, and China are watching warily as war spreads across the Middle East.