It's nothing to do with "price gouging", it's the value of the software or service to the person using it. If I buy a £3000 piece of software that allows me to produce work that I sell for £30,000 or £300,000 then for me it's reasonably priced irrespective of the actual cost to produce the software in the first place.
It's the same reason you pay more to see a top band in concert than unknowns or any one of a hundred other comparisons where the price charged for something is linked to (perceived) value to the purchaser, not based on the cost of production.
Perceived value could be based on anything from ease of use, to reputation, being an "industry standard" or 101 other influencing factors. Fundamentally like anything else in life a things value is based on what people are willing to pay for whatever reason, that's how a free market works.