Broadly speaking, cheap e-books from non-stellar academics are an incredible amount of data leaked for free: top peer-reviewed journals are not cheap at all and relevant conferences proceedings are often run on a pay-for-view scheme. The non-stellar academic from Windy Hill University, Nowhere, will sell a good summary of his/her field and an up to date literature review for less than $20. Bargain.
One of the thing about young people is they rarely have a sense of history. The relevant question is, how does that compare to, say, a Gen X student? We have plenty of archival evidence for that. One such is this newspaper article from 1988, titled "Students pay a high price for college textbooks" at https://news.google.com/newspapers?nid=1298&dat=19881110&id=... . It starts off "The price of textbooks will make you cry."
The end of the first column continues "For the last 50 to 60 years students said exactly the same thing about book prices." Yes, Baby Boomers made the same complaint you just did.
The larger context is that starting in the 1980s cultural views shifted so that college should be seen as prerequisite job training, and not as a way to expand the mind, understand the world, and better oneself. Thus, colleges could justify price hikes by saying it would lead to a better jobs in the future, which could pay off the increased debt. Where Boomers could work for the summer to pay off a year of school, modern students must pay back loans for the next decade.
But that has relatively little to do with the price of textbooks. Even if the textbooks were free, it would only mean the colleges would hike the prices elsewhere to maximize profit extraction.