Price discrimination should be illegal (with caveats, “student discounts” are considered PD, but not nearly as harmful as individual pricing.)
It’s a dishonest and exploitative practice, and wouldn’t surprise me that with just a few poorly selected datapoints (and with ML, every data point is poorly selected) discriminatory.
Surge pricing might not be price discrimination in the strictest sense, it’s still shitty.