You need less qualified people, less time, less parts, less often for repairs that a handy person can often do themselves and save on labor and parts. Significant sources of income are therefore shrunk for dealerships.
I know people who have paid people to replace the bulbs on a car. My wife rarely even bothers to refill the washer and I can count on 1 hand the number of times she's checker her oil in the nearly 20 years of owning a car.
Most people either don't care how cars work, don't have the technical capabilities to fix their own car or simply don't want to.
To be fair most newer cars need a fair amount of front bodywork pulled to change a bulb and most crossovers require pulling tail light housings which can be kind of intimidating for someone who's never done anything more than changed windshield wipers.
Out of the engine related problems, the cam belt and clutch are the things that's caused issues in the last 5 years across my various cars.