I've run into this several times with Tomcat. I think one of the setup tools/scripts seems to change between Tomcat9.exe and tomcat9.exe.
Tomcat9.exe
tomcat9.exe