Not only inflation but with debt.
You can do extremely well with just a Bachelor’s in CS. Professions like nursing, medicine, law, even business have had their earning potential sapped by larger and larger costs of education. And degrees past Bachelor’s are less well supported by financial aid schemes.