Question: are books getting more expensive?
Answer: There's a big supply and big demand. Profit margins make all that publishing possible (and profitable). Those economic factors help set prices where they are. College textbooks in particular are unusually expensive in the USA.