When does a company need its own server rather than the cloud?
When security or regulatory requirements say data must stay inside the company, or the system runs on a closed network or without the internet. But an own server means responsibility for hardware, power, networking and backups, so without people to handle this the cloud is usually more reliable.
More in the guide to where to host an app.