They also tend to only install units that you can't buy directly and only quote for total cost not parts and labor so you cannot easily tell just how much they are charging for the labor.
I suspect most consumers don't know how much the appliance should cost, it is a complex piece of machinery. But the labor part is easier to reason about.
So seeing $12k all in to install a heat pump might seem reasonable, people will shrug and say heatpumps must be expensive, but if they see that's $5k for the heat pump and $7k for the labor then it doesn't seem so reasonable.
And there are alternatives. You can buy comparable units from other manufacturers directly and shop for labor only (harder to find but not impossible). And there are sealed DIY units you can install yourself.