I’m willing to bet that scalpers starve critical applications of goods far more than they provide them. Providers of critical services are usually poorly funded.
There seems to be an assumption in the discussions about the market that people don't do stupid shit with money. That the same good cannot be both life-critical for one, and a source of cheap entertainment for another. That people only ever spend money to make more money. That they are perfectly consistent over time. That nothing is ever time-critical, it may be only time-discounted.
But the reality is, people are irrational, things take time, and markets have inertia. In a scalper-managed shortage of critical medication, it's perfectly possible for a rich person who watched one too many end-of-the-world movies to buy up the supply at high markup, to stock their fallout shelter, and have it rot there while people who need it die. It takes time for a chip scalper to insert themselves into the market, buy up the supply and advertise their existence - in that time, the factories might be wasting megadollars of money.
The ethics depends on the exact case study provided. If it's a rich person buying an xbox (not price sensitive) - that's one thing, and most people would not support it. If it's someone needing an IC for a heart monitor to stay alive (inelastic demand), most would say that providing them an IC over someone who wants to play the latest video game is a good service.
Scalpers do both (1) and (2).