Might be an unpopular opinion, but even if we ignore the cartridge costs, I don't have a problem with it. We're talking about vastly different markets, and simple economics, here.
The PS4 has an install base of over 50 million. Xbox One is around 30 million. Switch is what? 2 million right now. That's a much smaller customer base to spread costs across. And there's also much less competition on the Switch, which means that publishers don't have the same pressure to price low for competitive reasons.
It's similar to how a store like Walmart can have razor thin margins and still be profitable on volume, while a neighborhood bodega in a rural area will need to charge more per unit to break even.
Ironically, gamers take advantage of the same principles when they sign to for Best Buy and Amazon's gamer clubs, but you don't hear any of them complaining about how the Mom and Pop shops charge $12 more a game.
If the market won't support the higher price tag for Switch consoles, publishers will have to adjust.
It's business, and I think people take it way too personally, and as way too much of an affront to Switch owners, when the eshop is still for all intents and purposes a boutique storefront relative the competition. As that changes, it will make more sense for publishers to charge less and sell more.