Workflow complexity is the first major cost driver
A simple tool with one user type and one workflow is very different from a business system with staff roles, customer accounts, approvals, reporting, notifications, and admin controls.
The more decisions the software needs to support, the more design, engineering, and testing effort is required. That complexity is often hidden if the project is described only as an app or dashboard.