This is explored in detail in "Why Are the Prices So Damn High?" [1]
"Education and healthcare are notable examples of sectors seemingly stricken by constantly rising prices ... At the same time, home appliances and telecommunications have become much cheaper. Why?"
Heathcare costs for workers spiraling out of control makes them expensive, so fields where you can't outsource the labor become disproportionately expensive.
"Education and healthcare are notable examples of sectors seemingly stricken by constantly rising prices ... At the same time, home appliances and telecommunications have become much cheaper. Why?"
[1] https://www.mercatus.org/publications/healthcare/why-are-pri...