Analogous to the ‘serverless’ platforms, there are many companies selling shared PHP hosting, so you can just upload your code and expect it to work without worrying about security updates, service management, configuring TLS, etc.
A fat jar dropped on a server doesn’t just run. You need something else to run the process, restart it if it crashes, manage log output, etc.
PHP is served as soon as it’s dropped into a DocumentRoot.