(a) being in demand. Programming is not of exceptionally high value, but it's in demand and it's going to be in demand for the foreseeable future. Value isn't inherent in the good or service being offered and it doesn't make sense to talk of value as such, it's a function of supply and demand.
(b) some careers have more top-heavy rewards than others. A mediocre musician or a mediocre sportsman can expect $0, a mediocre programmer can expect a comfortable wage. Maybe the tails are so fat that the expectation evens out, but the distributions have radically different shapes. It's not "liquidity", it's that you're in a business where if you're not four standard deviations better than the average you're as useless as any random person.