Same thing happened to me. I said the same thing but there is more to it. Both were under warranty. I fixed the water heater replacing the trash controller. Cheap components. Plumbers online complain about this.
The fridge was the compresser. I asked the repair guy about how common this was and why. He said very common. He said it's two things. Cheap components(fiat) and "efficiency" requirements. Climate change inspired legislation is requiring companies to prioritize energy use over reliability.
So, it's the state interfering with the market. The money and the manufacturing sides. It's both.