The key question is, what made Japan, which rained peaceful and maintained a low key military development despite all the tech advantages, so radically transform its strategic posture.
From Japan's perspective, probably, SCS developments was the eye opener, and Ukraine war has become the trigger.