Japan saw that they were behind in technology compared to the Europeans. So in order to compete, they began to try and be like the west by catching up on western technology and making very western large armies.
btw mate I'm pretty sure this is not physics