Families that have set "Ask to Buy" on Apple IDs under Family Sharing, whoever has the "Organizer" role, must turn that feature off when the student needs to install a book or App. It can then be turned back on.
Here is a link to a quick tutorial video: How To Turn Off Ask To Buy For A Family Member On iPhone - 2023 - YouTube