All categories a school may list under their Cost of Attendance may not necessarily be a 529 qualified expense. 529 qualified expenses are determined by statute and IRS regulations, not by schools as they put together their Cost of Attendance data. For example, CoA "transportation," "health care center" or "health insurance" fees are not 529 qualified expenses. Also, many schools have a CoA category of "personal expenses;" these are not 529 qualified expenses.
See IRS Pub 970 for 529 qualified expenses (page 51): https://www.irs.gov/pub/irs-pdf/p970.pdf