It is all about the upfront costs and maintenance.
It takes some serious capital and talent to build a high-availablility data center that SaaS run on.
The software is just icing on the cake. You did not include the cake, the plate the cake is on, the table the plate is on, the chair at the table, and the roof overhead. All of those other components are needed and they have costs which must be paid for everything else to work so well and be so easy to use.