It's also not too surprising that British export locomotives tended to be narrow gauge, owing to the shipping.
As for why Japan didn't widen the gauge after the late 1800s - the line was fully connected all the way from Tokyo to the Keihanshin area very quickly, and couldn't really be altered piecemeal.